AAROC / CODE-RADE

Website, documentation and such for the CODE-RADE project
http://www.africa-grid.org/CODE-RADE
Apache License 2.0
5 stars 5 forks source link

Missing dependencies #223

Open glarocca opened 6 years ago

glarocca commented 6 years ago

Hi,

There are missing libraries when a module is loaded:

]$ module use /cvmfs/code-rade.africa-grid.org/modules/libraries/
]$ module add gcc/6.3.0

ncurses/6.0(11):ERROR:102: Tcl command execution failed: setenv       NCURSES_DIR                 $::env(CVMFS_DIR)/$::env(SITE)/$::env(OS)/$::env(ARCH)/ncurses/6.0

gmp/6.1.0(11):ERROR:102: Tcl command execution failed: setenv GMP_DIR           $::env(CVMFS_DIR)/$::env(SITE)/$::env(OS)/$::env(ARCH)/gmp/6.1.0

mpfr/3.1.5(8):ERROR:151: Module 'mpfr/3.1.5' depends on one of the module(s) 'gmp/6.1.0'
mpfr/3.1.5(8):ERROR:102: Tcl command execution failed: prereq gmp

mpc/1.0.3(8):ERROR:151: Module 'mpc/1.0.3' depends on one of the module(s) 'mpfr/3.1.5 mpfr/3.1.2'
mpc/1.0.3(8):ERROR:102: Tcl command execution failed: prereq mpfr

gcc/6.3.0(11):ERROR:102: Tcl command execution failed: setenv GCC_DIR $::env(CVMFS_DIR)/$::env(SITE)/$::env(OS)/$::env(ARCH)/gcc/6.3.0
brucellino commented 6 years ago

hi @glarocca

Thanks very much for reporting the issue. I suspect that this could be related to #222, but in case not, could you please provide the CODE-RADE build version (cat /cvmfs/code-rade.africa-grid.org/version)

It looks like some of the site variables are not being set ($OS, $ARCH, etc). This should be resolved by the setup script (use.sh) or the profile on the machine.

glarocca commented 6 years ago

Hi @brucellino

[centos@test ~]$ cat /cvmfs/code-rade.africa-grid.org/version FR3 Build 312 triggered by pcre