Currently Loaded Modulefiles:
1) modules/3.2.10.2
2) eswrap/1.3.2-1.020200.1274.0
3) switch/1.0-1.0502.57058.1.58.ari
4) craype-network-aries
5) craype/2.4.2
6) pbs/12.2.401.141761
7) craype-ivybridge
8) cray-mpich/7.2.6
9) packages-archer
10) bolt/0.6
11) nano/2.2.6
12) leave_time/1.0.0
13) quickstart/1.0
14) ack/2.14
15) xalt/0.6.0
16) epcc-tools/6.0
17) gcc/5.1.0
18) cray-libsci/13.2.0
19) udreg/2.3.2-1.0502.9889.2.20.ari
20) ugni/6.0-1.0502.10245.9.9.ari
21) pmi/5.0.7-1.0000.10678.155.25.ari
22) dmapp/7.0.1-1.0502.10246.8.47.ari
23) gni-headers/4.0-1.0502.10317.9.2.ari
24) xpmem/0.1-2.0502.57015.1.15.ari
25) dvs/2.5_0.9.0-1.0502.1958.2.55.ari
26) alps/5.2.3-2.0502.9295.14.14.ari
27) rca/1.0.0-2.0502.57212.2.56.ari
28) atp/1.8.3
29) PrgEnv-gnu/5.2.56
30) fftw/3.3.4.5
I do not have an answer, but I do agree that PrgEnv-gnu is getting loaded too late. Out of curiosity, what paths is cray-libsci setting when it gets loaded before your PE does?
--
You received this message because you are subscribed to the Google Groups "Spack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spack+un...@googlegroups.com.
To post to this group, send email to sp...@googlegroups.com.
Visit this group at https://groups.google.com/group/spack.
For more options, visit https://groups.google.com/d/optout.
aturner@eslogin003:~> module show cray-libsci
-------------------------------------------------------------------
/opt/cray/modulefiles/cray-libsci/13.2.0:
conflict libsci
conflict cray-libsci
setenv CRAY_LIBSCI_DIR /opt/cray/libsci/13.2.0
setenv CRAY_LIBSCI_BASE_DIR /opt/cray/libsci/13.2.0
setenv CRAY_LIBSCI_VERSION 13.2.0
setenv CRAY_LIBSCI_PREFIX_DIR /opt/cray/libsci/13.2.0/GNU/5.1/x86_64
setenv LIBSCI_VERSION 13.2.0
setenv LIBSCI_BASE_DIR /opt/cray/libsci/13.2.0
prepend-path PE_PRODUCT_LIST CRAY_LIBSCI
prepend-path CRAY_LD_LIBRARY_PATH /opt/cray/libsci/13.2.0/GNU/5.1/x86_64/lib
prepend-path MANPATH /opt/cray/libsci/13.2.0/man:/opt/cray/man/csmlversion
setenv PE_LIBSCI_MODULE_NAME cray-libsci/13.2.0
setenv PE_LIBSCI_VOLATILE_PRGENV CRAY GNU INTEL
setenv PE_LIBSCI_GENCOMPILERS_CRAY_x86_64 8.3
setenv PE_LIBSCI_GENCOMPS_CRAY_x86_64 83
setenv PE_LIBSCI_GENCOMPILERS_GNU_x86_64 5.1 4.9
setenv PE_LIBSCI_GENCOMPS_GNU_x86_64 51 49
setenv PE_LIBSCI_GENCOMPILERS_INTEL_x86_64 14.0
setenv PE_LIBSCI_GENCOMPS_INTEL_x86_64 140
prepend-path PE_PKGCONFIG_PRODUCTS PE_LIBSCI
setenv PE_LIBSCI_VOLATILE_PKGCONFIG_PATH /opt/cray/libsci/13.2.0/@PRGENV@/@PE_LIBSCI_GENCOMPS@/@PE_LIBSCI_TARGET@/lib/pkgconfig
prepend-path PE_LIBSCI_REQUIRED_PRODUCTS PE_MPICH
setenv PE_LIBSCI_PKGCONFIG_VARIABLES PE_LIBSCI_OMP_REQUIRES_@openmp@
setenv PE_LIBSCI_OMP_REQUIRES
setenv PE_LIBSCI_OMP_REQUIRES_openmp _mp
prepend-path PE_PKGCONFIG_LIBS libsci_mpi:libsci
setenv PE_LIBSCI_PKGCONFIG_LIBS libsci_mpi:libsci
module-whatis Cray Scientific Libraries
-------------------------------------------------------------------
Yes, sorry, I was not clear on that. If you do "module display cray-libsci" with PrgEnv-gnu loaded, modulecmd will re-evaluate cray-libsci as though it were getting loaded after PrgEnc-gnu which is, I think, what we want Spack to do.
It would be interesting to see what the value of CRAY_LIBSCI_PREFIX_DIR is from the context of your Vasp#install method.
If you have a minute to mess with it (I'm AFCray right now), could you put something like this at the top of the install method?
sh("echo","$CRAY_LIBSCI_PREFIX_DIR")
I would bet all my flops that it doesn't point to the gnu version of libsci, and if that's true, it is a good indication that Spack is loading the Programming Environments too late.
-Robert
/opt/cray/libsci/13.2.0/GNU/5.1/x86_64
so it does not look like it is this.
Actually, I have diff'd the full env from the by-hand (working method) and the Spack version and they are exactly the same apart from PATH which has the extra paths to Spack stuff so it seems there is something more subtle going on here. I wonder if the "make" method itself is doing something with the environment? I will have a dig.
Thanks for the help
Andy