Issues with MPI and MPAS-O on Cori #4494
Replies: 6 comments 16 replies
-
Well this way other people can possibly help. |
Beta Was this translation helpful? Give feedback.
-
Which repo are you trying to work with? |
Beta Was this translation helpful? Give feedback.
-
@lizcarlson to run MPAS stand alone on cori, I'd strongly recommend using the new conda environment functionality @xylar built into COMPASS. There is nice documentation on how to set up a new conda environment here -- https://mpas-dev.github.io/compass/latest/developers_guide/quick_start.html Cori-knl is a supported option. so the basic steps to setup the environment would be
With this you should be able to just use master |
Beta Was this translation helpful? Give feedback.
-
Yes, I do know this, I added this in myself for other reasons. While running within E3SM, hmm, then if I investigate the framework files maybe I can just edit those and that will fix it. Just for reference, a similar problem was occurring in the stand-alone MPAS-Ocean on Cori. This error was not present on LANL systems.
On Sep 2, 2021, at 2:43 PM, Mark Taylor ***@***.******@***.***>> wrote:
Non-NU Email
…________________________________
I took a look at mpas_ocn_time_integration.F in the current e3sm master. I dont know if this is the same file you are working with, but if it is: It doesn't have any MPI calls in it, nor a "use mpi", and thus it doesn't know about MPI variables (such as MPI_Comm_world) or MPI functions. Also, when running within E3SM, mpas will be running in it's own communicator, which is a subset of MPI_Comm_world. If you want to add MPI calls to this routine, you might need a different communicator.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/E3SM-Project/E3SM/discussions/4494*discussioncomment-1274290__;Iw!!PvXuogZ4sRB2p-tU!RcAPbkM5RAC_2E2Lvc1QLJLFYH76oMdUkuXsKGgpqB7h-h7NaBGKbiTzSeB0-Tvt8WP3_thhWYwD$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AM63NYTVNBW26FXISNFWEYDT77VWRANCNFSM5C4DRTGA__;!!PvXuogZ4sRB2p-tU!RcAPbkM5RAC_2E2Lvc1QLJLFYH76oMdUkuXsKGgpqB7h-h7NaBGKbiTzSeB0-Tvt8WP3_tMTcFYo$>.
Triage notifications on the go with GitHub Mobile for iOS<https://urldefense.com/v3/__https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675__;!!PvXuogZ4sRB2p-tU!RcAPbkM5RAC_2E2Lvc1QLJLFYH76oMdUkuXsKGgpqB7h-h7NaBGKbiTzSeB0-Tvt8WP3_jIsDTm8$> or Android<https://urldefense.com/v3/__https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign*3Dnotification-email*26utm_medium*3Demail*26utm_source*3Dgithub__;JSUlJSU!!PvXuogZ4sRB2p-tU!RcAPbkM5RAC_2E2Lvc1QLJLFYH76oMdUkuXsKGgpqB7h-h7NaBGKbiTzSeB0-Tvt8WP3_sDC5oYx$>.
|
Beta Was this translation helpful? Give feedback.
-
@lizcarlson Sorry for not weighing in sooner. I build standalone (both within and outside of E3SM) on Cori with no problems. One thing I noticed in your comment above that you were using intel-mpi as the target. The actual make incantation you want for Cori is: |
Beta Was this translation helpful? Give feedback.
-
@lizcarlson Are all the changes in your AOT develop branch confined to the mode_forward directory? I see some of the calls and will have some suggestions tomorrow for how to manage that better within MPAS-land. |
Beta Was this translation helpful? Give feedback.
-
@ndkeen Hi Noel, this is Elizabeth. Is this discussion board quicker than email?
I'm having trouble with compiling MPAS-Ocean (moving to compiling E3SM soon). It keeps pulling up errors such as
Error: Symbol 'mpi_real' at (1) has no IMPLICIT type
I am wondering if I am using all of the right modules or if I missed something; this is probably/hopefully an easy fix (I know someone else has been running MPAS-Ocean on Cori this summer, but he has the same mentor as the one who gave me the following module list).
module switch PrgEnv-intel PrgEnv-gnu
module load cray-netcdf-hdf5parallel
module load cray-parallel-netcdf
module load cmake
module load openmpi
source /global/project/projectdirs/e3sm/software/anaconda_envs/load_latest_e3sm_unified.sh
export PIO=/global/u2/h/hgkang/my_programs/Scorpio
git submodule update --init --recursive
module load git
export GITHASH=
git log -n 1 --oneline|cut -c 1-8
echo 'GITHASH:' $GITHASH
export DATE=
date +"%y%m%d"
export HOST=
hostname -s|cut -c 1-2
export COMPILER=gnu-nersc
I would think module load openmpi should do the trick (since all relevant MPI files should have transferred over with the GitHub repo clone), but maybe it's being overwritten somehow.
Beta Was this translation helpful? Give feedback.
All reactions