EMOD3D cannot find libgfortran.so.4

Symptom

A message similar to the following appears when running emod3d

emod3d-mpi_v3.0.8: error while loading shared libraries: libgfortran.so.4: cannot open shared object file: No such file or directory

Cause

The libgfortran library is not found in the LD_LIBRARY_PATH

Solution

On Maui run the following command in the run_cybershake terminal:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/gcc/7.3.0/snos/lib64

On Nurion run the following command in the run_cybershake terminal:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/apps/compiler/gcc/7.2.0/lib64
  • No labels