Error compiling with 64 bit ints and MPI
使用 64 位整数和 MPI 编译时出错
I'd like to run some semi-large CI expansions, where I need to compile dalton with 64 bit ints (more than 2^32 - 1 configurations). Also, I'd like to use MPI for inter-node parallelism.
我想运行一些半大规模的 CI 扩展,其中需要使用 64 位整数编译 dalton(超过 2^32 - 1 个构型)。此外,我还希望利用 MPI 实现节点间的并行计算。
I can compile with 64 bit ints without problems when not using MPI.
在使用非 MPI 时,我可以毫无问题地编译 64 位整数。
I have tried two setups, both giving too many errors.
我尝试了两种设置,结果都出现了过多的错误。
a) Dalton 2018.2, Intel 2019, mpich and mkl
a) 道尔顿 2018.2, 英特尔 2019, mpich 和 mkl
$ ./setup --int64 --fc=mpifort --cc=mpicc --cxx=mpicxx
b) Dalton 2018.2, GCC 9.2, mpich and lapack-i8
b) Dalton 2018.2, GCC 9.2, mpich 及 lapack-i8
$ ./setup --int64 --fc=mpif90 --cc=mpicc --cxx=mpicxx
Attached are the output from make
.
附上 make
的输出结果。
Approach a) gives a bunch of warnings related to the C files in the DFT modules, which are essentially the same as the one I got when compiling without MPI. However, I also get errors related to the lucita parallelization stuff.
方法 a)在编译 DFT 模块的 C 文件时产生了一系列警告,这些警告实质上与我未使用 MPI 编译时遇到的相同。然而,我还遇到了与 lucita 并行化相关的错误。
Approach b) gives errors related to parallel routines from abacus it would seem.
方法 b)似乎会产生与算盘并行程序相关的误差。
Any help is appreciated.
任何帮助都感激不尽。
Also, thanks for maintaining dalton
另外,感谢维护 dalton 😄