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

ideal.exe error

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

After running ideal.exe I got the following error

lab@lab-HP-EliteDesk-800-G4-WKS-TWR:~/Build_WRF/WRF/test/em_tropical_cyclone$ ./ideal.exe
./ideal.exe: error while loading shared libraries: libmpifort.so.12: cannot open shared object file: No such file or directory

#running using sudo
lab@lab-HP-EliteDesk-800-G4-WKS-TWR:~/Build_WRF/WRF/test/em_tropical_cyclone$ sudo ./ideal.exe
./ideal.exe: error while loading shared libraries: libnetcdff.so.6: cannot open shared object file: No such file or directory

Details of environment is as follow
export DIR=/home/lab/Build_WRF/LIBRARIES
export CC=gcc
export CXX=g++
export FC=gfortran
export FCFLAGS=-m64
export F77=gfortran
export FFLAGS=-m64
export JASPERLIB=/home/lab/Build_WRF/LIBRARIES/grib2/lib
export JASPERINC=/home/lab/Build_WRF/LIBRARIES/grib2/include
export LDFLAGS=-L/home/lab/Build_WRF/LIBRARIES/grib2/lib
export CPPFLAGS=-I/home/lab/Build_WRF/LIBRARIES/grib2/include
#export LD_LIBRARY_PATH=/home/lab/Build_WRF/LIBRARIES/netcdf/lib:$LD_LIBRARY_PATH
export PATH=/home/lab/Build_WRF/LIBRARIES/netcdf/bin:$PATH
export NETCDF=/home/lab/Build_WRF/LIBRARIES/netcdf
export PATH=/home/lab/Build_WRF/LIBRARIES/mpich/bin:$PATH
export NETCDF_classic=1
export WRF_EM_CORE=1
export WRF_NMM_CORE=0
ulimit -s unlimited
export WRFIO_NCD_LARGE_FILE_SUPPORT=1
export WRFPLUS_DIR=/home/lab/WRFPLUS
export WRFDA_DIR=/home/lab/WRFDA


Also I have check the file are at their particular location. '
with in /home/lab/Build_WRF/LIBRARIES/mpich/bin there is mpifort
same as for netcdf.

But still I got this error.

please help
Regards
Jayanti
 
Hi,
I think you may need to add the directory containing the ' libmpifort.so.12' file to your LD_LIBRARY_PATH environment variable.
 
Top