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

MAALI_LOADED_PRGENV, COMPILER and COMPILER_VER variables #43

Open
mshaikh786 opened this issue Jan 2, 2018 · 3 comments
Open

MAALI_LOADED_PRGENV, COMPILER and COMPILER_VER variables #43

mshaikh786 opened this issue Jan 2, 2018 · 3 comments
Labels

Comments

@mshaikh786
Copy link

(Tested on chaos-int with modules/3.2.10.6): The modulefile created by maali/1.4.3 is setting the MAALI_LOADED_PRGENV, COMPILER and COMPILER_VER with set command which is not successfully setting the variables outside the scope of brace brackets. Using setenv instead to set the value of the variables does propagate it outside the if condition scope.

@schibeci
Copy link
Contributor

schibeci commented Jan 8, 2018

This should be fixed with maali 1.5b1 on galaxy

@dgrimreaper
Copy link
Contributor

dgrimreaper commented Jan 12, 2018

This fix brings back the problem in issue#26

reaper@galaxy-1:>
module swap PrgEnv-cray PrgEnv-gnu
reaper@galaxy-1:> module load cfitsio
reaper@galaxy-1:> module load gsl
reaper@galaxy-1:> module unload gsl
reaper@galaxy-1:> module unload cfitsio
cfitsio/3.420(84):ERROR:102: Tcl command execution failed: if {! [module-info mode whatis] } {
setenv MAALI_CFITSIO_HOME /pawsey/cle60up05/devel/$env(MAALI_LOADED_PRGENV)/$env(CRAYOS_VERSION)/$env(COMPILER)/$env(COMPILER_VER)/$env(CRAY_CPU_TARGET)/cfitsio/3.420
setenv CFITSIO_ROOT "/pawsey/cle60up05/devel/$env(MAALI_LOADED_PRGENV)/$env(CRAYOS_VERSION)/$env(COMPILER)/$env(COMPILER_VER)/$env(CRAY_CPU_TARGET)/cfitsio/3.420"
prepend-path CPATH /pawsey/cle60up05/devel/$env(MAALI_LOADED_PRGENV)/$env(CRAYOS_VERSION)/$env(COMPILER)/$env(COMPILER_VER)/$env(CRAY_CPU_TARGET)/cfitsio/3.420/include
prepend-path FCPATH /pawsey/cle60up05/devel/$env(MAALI_LOADED_PRGENV)/$env(CRAYOS_VERSION)/$env(COMPILER)/$env(COMPILER_VER)/$env(CRAY_CPU_TARGET)/cfitsio/3.420/include
prepend-path FPATH /pawsey/cle60up05/devel/$env(MAALI_LOADED_PRGENV)/$env(CRAYOS_VERSION)/$env(COMPILER)/$env(COMPILER_VER)/$env(CRAY_CPU_TARGET)/cfitsio/3.420/include
prepend-path LD_LIBRARY_PATH /pawsey/cle60up05/devel/$env(MAALI_LOADED_PRGENV)/$env(CRAYOS_VERSION)/$env(COMPILER)/$env(COMPILER_VER)/$env(CRAY_CPU_TARGET)/cfitsio/3.420/lib
prepend-path MANPATH /pawsey/cle60up05/devel/$env(MAALI_LOADED_PRGENV)/$env(CRAYOS_VERSION)/$env(COMPILER)/$env(COMPILER_VER)/$env(CRAY_CPU_TARGET)/cfitsio/3.420/share/man
prepend-path PKG_CONFIG_PATH /pawsey/cle60up05/devel/$env(MAALI_LOADED_PRGENV)/$env(CRAYOS_VERSION)/$env(COMPILER)/$env(COMPILER_VER)/$env(CRAY_CPU_TARGET)/cfitsio/3.420/lib/pkgconfig
}

@dgrimreaper
Copy link
Contributor

Mohsin has confirmed that maali/1.4.3 works fine on galaxy, and the problem appears confined to previous use on chaos-int.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants