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

Check isca python installation is in GFDL_BASE used #166

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/extra/python/isca/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
log.error('Environment variables GFDL_BASE, GFDL_WORK, GFDL_DATA must be set')
raise ValueError('Environment variables GFDL_BASE, GFDL_WORK, GFDL_DATA must be set')

if not GFDL_BASE in _module_directory:
log.warning('Warning: Isca python module version used is located in "%s" but GFDL_BASE is "%s". This may cause conflicts/compilation failure if the CodeBase is updated.' % (_module_directory, GFDL_BASE))

# GFDL_ENV: The environment on which the model is being run.
# Primarily, this determines which compilers and libraries are to be used
# to compile the code.
Expand Down