diff --git a/src/extra/python/isca/__init__.py b/src/extra/python/isca/__init__.py index 5bf28c1a9..4270f47c2 100644 --- a/src/extra/python/isca/__init__.py +++ b/src/extra/python/isca/__init__.py @@ -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.