Skip to content
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