Isca icon indicating copy to clipboard operation
Isca copied to clipboard

This module file was not generated by any release of this compiler.

Open DashaAS opened this issue 4 years ago • 1 comments
trafficstars

Dear Sir, we ran into problems while compiling the test-experiment for the first time. We tried reinstalling the model several times, but compilation stops due to the following error: “This module file was not generated by any release of this compiler”. Although we have checked, and netcdf in our server is compiled with this compiler.

I am attaching the failed compilation log file, as well as link to the file emps-gv with our configuration: held_suarez_test_case.log https://drive.google.com/file/d/1d5I3F0BdwMu3O3CXtiUseWaDUwt60HHw/view?usp=sharing To install the model, we used the instructions from the site and did the following: First of all, we make sure the conda is completely removed! That is, there is no mention in -bash_profile, .bashrc and there is no .conda folder and .condarc file in the home directory. Then we install newest version of it:

wget https://repo.anaconda.com/archive/Anaconda3-2021.05-Linux-x86_64.sh
chmod +x Anaconda3-2021.05-Linux-x86_64.sh
# Install into /storage/workstation/zyulyaeva/anaconda3
conda config --set auto_activate_base false

Then we install ISCA:

conda activate base
git clone https://github.com/ExeClim/Isca
cd Isca
conda env create -f ci/environment-py3.9.yml # устанавливаем окружение
conda activate isca_env № активируем окружение
cd src/extra/python/
pip install -e .

We write the paths to the folders in .bashrc, exit the server, log in again and compile test experiment:

conda activate isca_env
cd $GFDL_BASE/exp/test_cases/held_suarez
python held_suarez_test_case.py

And it stops with the aforementioned error. Maybe you can tell us what are we doing wrong?

DashaAS avatar Nov 18 '21 09:11 DashaAS

The error appears where netCDF library is used, so this is is likely because another netCDF library (compiled with a different Fortran compiler) is being loaded when you login to the server, instead of the one shipped with Anaconda. Please check your library paths and/or module-load commands, if you're using any.

dennissergeev avatar Nov 22 '21 20:11 dennissergeev