How can I compile ROMS with MPI3

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
Arvin_Yin
Posts: 15
Joined: Wed Apr 23, 2014 12:05 pm
Location: Tsinghua University

How can I compile ROMS with MPI3

#1 Post by Arvin_Yin » Mon Jun 11, 2018 4:23 am

Hi everyone.
My system only got mpi3. I searched this forum found
it is possible to compile ROMS with mpi3.
But how? Since in bash.bash, there's only two choices: mpich and mpich2.
Hope for someone's help. I will really appreciate it!
Attachments
mpi3_search.png

User avatar
kate
Posts: 3678
Joined: Wed Jul 02, 2003 5:29 pm
Location: IMS/UAF, USA

Re: How can I compile ROMS with MPI3

#2 Post by kate » Mon Jun 11, 2018 6:03 am

Well, have you tried to compile with mpi3? It just needs to be a standards-conforming implementation of the MPI standard. We use openmpi, not mpich. What happens when you try it?

Arvin_Yin
Posts: 15
Joined: Wed Apr 23, 2014 12:05 pm
Location: Tsinghua University

Re: How can I compile ROMS with MPI3

#3 Post by Arvin_Yin » Sun Jun 17, 2018 2:14 am

Hi kate
Tkanks for your reply!
I'm still trying.
I found that I have done it before.
But now I got a new problem
"
cd /NSFCGZ/nsfc2015_250/yinp/Projects/upwelling/Build; /NSFCGZ/app/MPI/Gnu/MPICH/3.2-gcc4.9.2-dyn/bin/mpif90 -c -frepack-arrays -O3 -ffast-math -ffree-form -ffree-line-length-none strings.f90
Warning: Nonexistent include directory "/WORK/app/MPI/Intel/MPICH/3.2-gcc4.9.2-dyn/include"
Warning: Nonexistent include directory "/WORK/app/MPI/Intel/MPICH/3.2-gcc4.9.2-dyn/include"
Warning: Nonexistent include directory "/WORK/app/MPI/Intel/MPICH/3.2-gcc4.9.2-dyn/include"
Warning: Nonexistent include directory "/WORK/app/MPI/Intel/MPICH/3.2-gcc4.9.2-dyn/include"
Warning: Nonexistent include directory "/WORK/app/MPI/Intel/MPICH/3.2-gcc4.9.2-dyn/include"
Warning: Nonexistent include directory "/WORK/app/MPI/Intel/MPICH/3.2-gcc4.9.2-dyn/include"
"

Why ROMS try to find the "/WORK/app/..." directory? And I can't find where to set this path in "build.bash" or the compile files.

Hopes for your reply. Thanks!

User avatar
kate
Posts: 3678
Joined: Wed Jul 02, 2003 5:29 pm
Location: IMS/UAF, USA

Re: How can I compile ROMS with MPI3

#4 Post by kate » Sun Jun 17, 2018 4:23 am

The mpif90 script is bringing that in. As long as it's just a warning I wouldn't worry about it.

Post Reply