diff --git a/Programming/gcc/files/config.yaml b/Programming/gcc/files/config.yaml index a625fce..0d4e8db 100644 --- a/Programming/gcc/files/config.yaml +++ b/Programming/gcc/files/config.yaml @@ -86,6 +86,7 @@ gcc: systems: [rhel.*] - overlay: PSI systems: [login.*.merlin7.psi.ch, cn.*.merlin7.psi.ch, gpu.*.merlin7.psi.ch] + modulefile: modulefile-alps - overlay: base systems: [rhel.*] diff --git a/Programming/gcc/modulefile-alps b/Programming/gcc/modulefile-alps new file mode 100644 index 0000000..a1f7b84 --- /dev/null +++ b/Programming/gcc/modulefile-alps @@ -0,0 +1,28 @@ +#%Module1.0 + +module-whatis "GNU Compiler Collection" +module-url "http://gcc.gnu.org/" +module-license "GNU GPL v2/v3" +module-maintainer "Achim Gsell " + +module-help " +The GNU Compiler Collection includes front ends for C, C++, Objective-C, +Fortran, Java, Ada, and Go, as well as libraries for these languages +(libstdc++, libgcj,...). GCC was originally written as the compiler for +the GNU operating system. + +This module includes compilers for +- C/C++ +- Objective-C/Objective-C++ +- Fortran +" + +module-addgroup "Compiler" + +setenv CC $PREFIX/bin/gcc +setenv CXX $PREFIX/bin/g++ +setenv F77 $PREFIX/bin/gfortran +setenv F90 $PREFIX/bin/gfortran +setenv FC $PREFIX/bin/gfortran +setenv FORTRAN $PREFIX/bin/gfortran +