The compiler was not found during case.build even it was set in config_machines.xml
#7853
Aaron-Hsieh-0129
started this conversation in
E3SM model help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm trying to run default E3SM case (same configuration as run_e3sm.template.sh) using an unsupported machine.
When I was running the building program, it showed the errors like this.
It seems that the program didn't find my compilers (mpicc, mpic++, mpif90) even I set it inside the
<E3SM>/cime_config/config_machines.xml.If I run the command by specifying the compiler, it works successfully.
(
/work/aaron900129/E3SM/externals/mct/configure CC=mpicc FC=mpif90 MPICC=mpicc MPIFC=mpif90 FCFLAGS=' -I/work/aaron900129/E3SMv3/E3SM_test/build/nvhpc/openmpi/nodebug/threads/include' CPPDEFS='' CFLAGS=' -I/work/aaron900129/E3SMv3/E3SM_test/build/nvhpc/openmpi/nodebug/threads/include' LDFLAGS='' NETCDF_PATH=/work/aaron900129/netcdf-c_install --srcdir /work/aaron900129/E3SM/externals/mct)Here shows how I set the machines.
I added the machine information in
<E3SM>/cime_config/config_machines.xmllike thisI also added a cmake file (
<E3SM>/cime_config/Depends.twnia2.nvhpc.cmake) to ensure the compilers were set successfully.Could anyone teach me how to set the environment correctly? Any suggestion is much appreciated, thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions