Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DashaAS opened this issue Nov 18, 2021 · 1 comment
Open
Labels
infrastructure Isca infrastructure: installation, CI, HPC setups

Comments

@DashaAS
Copy link

DashaAS commented Nov 18, 2021

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 DashaAS added the infrastructure Isca infrastructure: installation, CI, HPC setups label Nov 18, 2021
@dennissergeev
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Isca infrastructure: installation, CI, HPC setups
Projects
None yet
Development

No branches or pull requests

2 participants