Hi Li, We currently do not support MPI. The flag you found was used in the past for a specific case in the OEM code, but the corresponding code is currently disabled.
Cheers, Oliver > On 28. Apr 2024, at 17:11, li zhuoyang via arts_users.mi > <arts_users.mi@lists.uni-hamburg.de> wrote: > > Dear all > During the installation and compilation of ARTS 2.6.2, I noticed a line in > the cmakelists.txt file: option (ENABLE_MPI "Turn on MPI" OFF). I would like > to confirm whether ARTS 2.6.2 supports multi-node operation on > supercomputers. After changing the 'OFF' in option (ENABLE_MPI "Turn on MPI" > OFF) to 'ON', I always encounter the following compilation error, despite > trying many different MPI compilers, the same error persists. > Are there any more compilation guidelines regarding MPI? > In file included from > /public/home/elzd_2024_000173/lzy/arts/arts-2.6.2/src/m_xml.cc:10: > /public/home/elzd_2024_000173/lzy/arts/arts-2.6.2/src/m_xml.h: In function > 'void WriteXML(const String&, const T&, const String&, const Index&, const > String&, const String&, const String&, const Verbosity&)': > /public/home/elzd_2024_000173/lzy/arts/arts-2.6.2/src/m_xml.h:118:3: error: > there are no arguments to 'MPI_Initialized' that depend on a template > parameter, so a declaration of 'MPI_Initialized' must be available > [-fpermissive] 118 | MPI_Initialized(&initialized); | ^~~~~~~~~~~~~~~ > /public/home/elzd_2024_000173/lzy/arts/arts-2.6.2/src/m_xml.h:118:3: note: > (if you use '-fpermissive', G++ will accept your code, but allowing the use > of an undeclared name is deprecated) > /public/home/elzd_2024_000173/lzy/arts/arts-2.6.2/src/m_xml.h:120:5: error: > there are no arguments to 'MPI_Init' that depend on a template parameter, so > a declaration of 'MPI_Init' must be available [-fpermissive] 120 | > MPI_Init(nullptr, nullptr); | ^~~~~~~~ > /public/home/elzd_2024_000173/lzy/arts/arts-2.6.2/src/m_xml.h:123:17: error: > 'MPI_COMM_WORLD' was not declared in this scope 123 | > MPI_Comm_rank(MPI_COMM_WORLD, &rank); | ^~~~~~~~~~~~~~ > /public/home/elzd_2024_000173/lzy/arts/arts-2.6.2/src/m_xml.h:123:3: error: > there are no arguments to 'MPI_Comm_rank' that depend on a template > parameter, so a declaration of 'MPI_Comm_rank' must be available > [-fpermissive] 123 | MPI_Comm_rank(MPI_COMM_WORLD, &rank); | ^~~~~~~~~~~~~ > gmake[2]: *** [src/CMakeFiles/artscore.dir/m_xml.cc.o] Error 1 gmake[1]: *** > [src/CMakeFiles/artscore.dir/all] Error 2 gmake: *** [all] Error 2 > Thank you for reading my letter. Looking forward to your reply! > Yours, > Li Zhuoyang >