-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error compiling COAWST #6
Comments
this may not be the best solution, but edit if defined MPI
else
endifto and see if that compiles. So older versions of mpif.h do not have mpi_proc_null defined. |
Thanks John looks like it fixed that error |
Closed
This was referenced Dec 1, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I keep getting the below error during the first stage of compiling COAWST. I checked the mpi.h file in the directory I had set during the MCT compile and it didn't have MPI_PROC_NULL so I used #define MPI_PROC_NULL (0). That didn't work. I then copied the mpi.h file from the openmpi module I'm using and that didn't work. Attached are mpi.h (last attempt, copied from module) and mpi_old.h (from the mct compile), coawst.bash and projects.h
coawst.zip
cd ./Build; /apps/openmpi/4.0.2/bin/mpif90 -c -fp-model precise -ip -O3 -traceback -check uni nit -I/home/549/cs8275/bin/include -I/home/549/cs8275/COAWST//WRF/main -I/home/549/cs8275/COA WST//WRF/external/esmf_time_f90 -I/home/549/cs8275/COAWST//WRF/frame -I/home/549/cs8275/COAWS T//WRF/share exchange_3d.f90
mp_exchange.f90(106): error #6404: This name does not have a type, and must have an explicit type. [MPI_PROC_NULL]
Null_Value=MPI_PROC_NULL
-----------------^
compilation aborted for mp_exchange.f90 (code 1)
make: *** [ROMS/Utility/Module.mk:15: Build/mp_exchange.o] Error 1
make: *** Waiting for unfinished jobs....
Thanks
The text was updated successfully, but these errors were encountered: