Thank you for your suggestion, it worked. However, I am getting a new error:
set MPI = /usr/local/bin
set MPIRUN = /usr/local/bin/mpirun
mpirun -np 12 /home/maria/Escritorio/CMAQ_REPO/CCTM/scripts/BLD_CCTM_v52_gcc/CCTM_v52.exe
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error: #0 0x14b5f1de516a in ??? #1 0x14b5f1de4393 in ??? #2 0x14b5f127d13f in ??? #3 0x14b5f2214c67 in ??? #4 0x14b5f24ead8a in ??? #5 0x562d8af8a8f5 in ??? #6 0x562d8af91897 in ??? #7 0x562d8adfdc8e in ??? #8 0x14b5f12671c0 in ??? #9 0x562d8adfdcc9 in ??? #10 0xffffffffffffffff in ???
I was looking for a solution, but I did not get a possible answer. Do you have any idea?
I applied the command that you suggested, however it did not work. I was trying to find a solution but finally I decided to recompile all. At this point, I am getting a new error while I am running the CCTM build script:
distr_env.o: En la función distr_env_': distr_env.c:(.text+0xd6): unreference toompi_mpi_comm_world’
distr_env.c:(.text+0xdd): unreference toompi_mpi_int' distr_env.c:(.text+0xf4): unreference toompi_mpi_comm_world’
distr_env.c:(.text+0xfb): unreference to ompi_mpi_char' distr_env.c:(.text+0x10c): unreference toompi_mpi_comm_world’
distr_env.c:(.text+0x148): unreference to ompi_mpi_comm_world' distr_env.c:(.text+0x14f): unreference toompi_mpi_int’
distr_env.c:(.text+0x16e): unreference to ompi_mpi_comm_world' distr_env.c:(.text+0x175): unreference toompi_mpi_char’
collect2: error: ld returned 1 exit status
Makefile:409: fallo en las instrucciones para el objetivo ‘CCTM_v521.exe’
make: *** [CCTM_v521.exe] Error 1 ERROR while running make command
Do you have any idea to solve this error?
Appreciate your help.
As a bandage type of solution, you can remove distr_env in the Makefile. Carlie has mentioned "it is strange" and I agree with hime. So if you want to pursue further down about your error, please contact me directly, wong.david-c@epa.gov.