Re: Problem with jx in ver 3.9.1 ( No.1 ) |
- Date: 2020/01/16 12:54
- Name: Po-Hao <chang.pohao@gmail.com>
- Hi,
Is it the compiler issue? I compiled with compiler/intel/16 and tested on CrBr3. I got the following
1 cpu: i j c1 c2 c3 J [meV] J [mRy] time_eig [s] time_Jij [s] ------------------------------------------------------------------------------------------------- 19 24 0 0 0 0.017657171539 0.001297778183 152.78443 8.99369 19 22 0 0 0 3.172469987400 0.233172245427 0.00000 9.15662 19 19 1 0 0 0.270400919300 0.019874101180 0.00000 9.17260 19 24 1 0 0 -0.000440496537 -0.000032375899 0.00000 9.16182 19 22 1 0 0 -0.023497741705 -0.001727052176 0.00000 9.10821
6 cpu i j c1 c2 c3 J [meV] J [mRy] time_eig [s] time_Jij [s] ------------------------------------------------------------------------------------------------- 19 24 0 0 0 0.017657171539 0.001297778183 28.13279 1.82858 19 22 0 0 0 3.172469987400 0.233172245427 0.00000 1.74988 19 19 1 0 0 0.270400919300 0.019874101180 0.00000 1.77849 19 24 1 0 0 -0.000440496537 -0.000032375899 0.00000 1.81862 19 22 1 0 0 -0.023497741705 -0.001727052176 0.00000 1.75223
the speed up is nearly perfect and the results are identical
Po-Hao
|
Re: Problem with jx in ver 3.9.1 ( No.2 ) |
- Date: 2020/01/16 17:38
- Name: Asako Terasawa
- Hello Zsolt,
And thank Po-Hao for information!
The mpi-dependent problem can also be quite dependent on the computer environment, so I would appreciate if you write down the information about the compiler and libraries you are using.
Thanks, Asako Terasawa
|
Re: Problem with jx in ver 3.9.1 ( No.3 ) |
- Date: 2020/01/16 21:47
- Name: Zsolt <gercsiz@tcd.ie>
Thanks for both of you for the fast reply!
I use Ubuntu 18.04.3 LTS with gnome 3.28.2 in 64-bit on i7-5820K CPU @ 3.30GHz × 12 . The compiled jx file was linked with these libraries below.
linux-vdso.so.1 (0x00007ffec4330000) libmkl_blacs_intelmpi_lp64.so => /media/joy/c6a81621-d733-4e5f-9999-58b0a235b634/opt/intel/compilers_and_libraries_2020.0.166/linux/mkl/lib/intel64_lin/libmkl_blacs_intelmpi_lp64.so (0x00007f89831ae000) libmkl_scalapack_lp64.so => /media/joy/c6a81621-d733-4e5f-9999-58b0a235b634/opt/intel/compilers_and_libraries_2020.0.166/linux/mkl/lib/intel64_lin/libmkl_scalapack_lp64.so (0x00007f8982890000) libmkl_intel_lp64.so => /media/joy/c6a81621-d733-4e5f-9999-58b0a235b634/opt/intel/compilers_and_libraries_2020.0.166/linux/mkl/lib/intel64_lin/libmkl_intel_lp64.so (0x00007f8981d24000) libmkl_core.so => /media/joy/c6a81621-d733-4e5f-9999-58b0a235b634/opt/intel/compilers_and_libraries_2020.0.166/linux/mkl/lib/intel64_lin/libmkl_core.so (0x00007f897da04000) libmkl_intel_thread.so => /media/joy/c6a81621-d733-4e5f-9999-58b0a235b634/opt/intel/compilers_and_libraries_2020.0.166/linux/mkl/lib/intel64_lin/libmkl_intel_thread.so (0x00007f897b498000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f897b279000) libifcore.so.5 => /media/joy/c6a81621-d733-4e5f-9999-58b0a235b634/opt/intel/compilers_and_libraries_2020.0.166/linux/compiler/lib/intel64_lin/libifcore.so.5 (0x00007f897af15000) libiomp5.so => /media/joy/c6a81621-d733-4e5f-9999-58b0a235b634/opt/intel/compilers_and_libraries_2020.0.166/linux/compiler/lib/intel64_lin/libiomp5.so (0x00007f897ab25000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f897a787000) libmpifort.so.12 => /media/joy/c6a81621-d733-4e5f-9999-58b0a235b634/opt/intel/compilers_and_libraries_2020.0.166/linux/mpi/intel64/lib/libmpifort.so.12 (0x00007f897a3c9000) libmpi.so.12 => /media/joy/c6a81621-d733-4e5f-9999-58b0a235b634/opt/intel/compilers_and_libraries_2020.0.166/linux/mpi/intel64/lib/release/libmpi.so.12 (0x00007f897932f000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f897912b000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f8978f23000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f8978d0b000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f897891a000) /lib64/ld-linux-x86-64.so.2 (0x00007f89833f0000) libimf.so => /media/joy/c6a81621-d733-4e5f-9999-58b0a235b634/opt/intel/compilers_and_libraries_2020.0.166/linux/compiler/lib/intel64_lin/libimf.so (0x00007f897837c000) libsvml.so => /media/joy/c6a81621-d733-4e5f-9999-58b0a235b634/opt/intel/compilers_and_libraries_2020.0.166/linux/compiler/lib/intel64_lin/libsvml.so (0x00007f89769f5000) libintlc.so.5 => /media/joy/c6a81621-d733-4e5f-9999-58b0a235b634/opt/intel/compilers_and_libraries_2020.0.166/linux/compiler/lib/intel64_lin/libintlc.so.5 (0x00007f897677e000) libfabric.so.1 => /media/joy/c6a81621-d733-4e5f-9999-58b0a235b634/opt/intel/compilers_and_libraries_2020.0.166/linux/mpi/intel64/libfabric/lib/libfabric.so.1 (0x00007f8976539000)
Let me know, if you have any suggestion to try. Best wishes, Zsolt
|
Re: Problem with jx in ver 3.9.1 ( No.4 ) |
- Date: 2020/01/16 22:02
- Name: Zsolt <gercsiz@tcd.ie>
OK, I think I found the issue. The optimization had to be reduced to -O1 (for jx only!) and the problem goes away. (-O2 doesn't work either.)
Thanks again, Zsolt
|
Re: Problem with jx in ver 3.9.1 ( No.5 ) |
- Date: 2020/01/17 11:29
- Name: Asako Terasawa
- Thanks, Zsolt!
The optimization option of compilation makes a problem sometimes but it is indeed environment dependent and the reason is not always clear. I'm still working on further development of jx, and I will also check the issue you mentioned sooner or later. Thanks a lot for your feedback!
AT
|