Hello,
Any one has any suggestions on the compiling errors below:
Many thanks!
I used the gcc version 8.3.0; netcdf-c-4.6.0; netcdf-fortran-4.5.0; mpich-3.3.1; ioapi-3.2; no errors on icon, bcon ad micp
distr_env.o: In function `distr_env_’:
distr_env.c:(.text+0xc0): undefined reference to `ompi_mpi_comm_world’
distr_env.c:(.text+0xc7): undefined reference to `ompi_mpi_int’
distr_env.c:(.text+0xe1): undefined reference to `ompi_mpi_char’
distr_env.c:(.text+0xe7): undefined reference to `ompi_mpi_comm_world’
distr_env.c:(.text+0xf4): undefined reference to `ompi_mpi_comm_world’
distr_env.c:(.text+0x112): undefined reference to `ompi_mpi_comm_world’
distr_env.c:(.text+0x119): undefined reference to `ompi_mpi_int’
distr_env.c:(.text+0x13b): undefined reference to `ompi_mpi_char’
distr_env.c:(.text+0x141): undefined reference to `ompi_mpi_comm_world’
collect2: error: ld returned 1 exit status
make: *** [CCTM_v53.exe] Error 1