Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Error compiling executable file

ddl

New member
Hello everyone,
I created a linux system using a virtual machine on my personal computer, and successfully compiled WRF and WPS, but when I followed the same operation to remotely install and compile WRF on the server, I got an error, and I could not find the relevant answer on the network, this is my log file.
The Linux operating system on my VM is Ubuntu(gcc (Ubuntu 9.5.0-1 Ubuntu1 ~22.04) 9.5.0). The server system is redhat(gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)), and the gcc,gfortran,c++ versions of the two are different, because I do not have the root permission of the server, I cannot easily update the compiler version. So I don't know if that's the cause of the problem.
Any help is greatly appreciated!
 
Last edited:
Fatal Error: File 'mpi.mod' opened at (1) is not a GNU Fortran module file
0.13user 0.05system 0:00.18elapsed 100%CPU (0avgtext+0avgdata 20840maxresident)k
0inputs+8outputs (0major+17170minor)pagefaults 0swaps
make[2]: [module_dm.o] Error 1 (ignored)
First error I see @kwerner
 
  • Like
Reactions: ddl
First error I see @kwerner
Thank you very much. According to this error message, I searched the Internet for possible causes and finally determined that the problem was the installation of the MPICH dependency package. Through the "mpirun -version" command, I found that the mpich dependency package was compiled by ifort, but strangely, I did not modify the contents of FC and FCFLAGS, and checked the compilation logs of each dependency package. Only the MPICH dependency package had a problem, which may be caused by some Settings on the server. I finally reinstalled the MPICH dependency package and successfully compiled the WRF executable.
Thank you very much for your help, and I also hope that my mistake can help friends who have similar problems.
 
Thank you very much. According to this error message, I searched the Internet for possible causes and finally determined that the problem was the installation of the MPICH dependency package. Through the "mpirun -version" command, I found that the mpich dependency package was compiled by ifort, but strangely, I did not modify the contents of FC and FCFLAGS, and checked the compilation logs of each dependency package. Only the MPICH dependency package had a problem, which may be caused by some Settings on the server. I finally reinstalled the MPICH dependency package and successfully compiled the WRF executable.
Thank you very much for your help, and I also hope that my mistake can help friends who have similar problems.
glad to help
 
Top