reopen64
Warewulf 3 reopen64 code
compilers/open64/5.0 modulefile
#%Module1.0#####################################################################
##
## modules compilers/open64/5.0
##
## modulefiles/compilers/open64/5.0 Written by Jeff Layton
##
proc ModulesHelp { } {
global version modroot
puts stderr ""
puts stderr "The compilers/open64/5.0 module enables the Open64 family of"
puts stderr "compilers. It updates the \$PATH, "\$LD_LIBRARY_PATH, and"
puts stderr "\$MANPATH environment variables to access the compiler and"
puts stderr "libraries for compiling applications."
puts stderr " "
puts stderr "The following additional environment variables are also defined:"
puts stderr ""
puts stderr "\$CC\t\t(uses opencc for compiling C )"
puts stderr "\$CXX\t\t(uses openCC for compiling C++ )"
puts stderr "\$FC\t\t(uses openf90 for compiling F90 )"
puts stderr "\$F90\t\t(uses openf90 for compiling F90 )"
puts stderr "\$F95\t\t(uses openf95 for compiling F95 )"
puts stderr "\$F77\t\t(uses openf90 for compiling F77 )"
puts stderr " "
puts stderr "See the man pages for gcc, g++, and gfortran for more"
puts stderr "detailed information on available compiler options and"
puts stderr "command-line syntax."
puts stderr " "
}
module-whatis "Name: Open64 Environment"
module-whatis "Version: 5.0"
module-whatis "Category: compiler, runtime support"
module-whatis "Description: open64 Compiler Family (C/C++/Fortran90/Fortran95 for x86_64)"
module-whatis "URL: http://www.open64.net/"
# for Tcl script use only
set topdir /opt/open64
set version 5.0
set sys linux86
prepend-path PATH $topdir/lib/gcc-lib/x86_64-open64-linux/5.0
prepend-path PATH $topdir/include/5.0
prepend-path PATH $topdir/bin
prepend-path MANPATH $topdir/open64-gcc-4.2.0/man
prepend-path LD_LIBRARY_PATH $topdir/lib/gcc-lib/x86_64-open64-linux/5.0
setenv CC $topdir/bin/opencc
setenv CXX $topdir/bin/openCC
setenv FC $topdir/bin/openf90
setenv F77 $topdir/bin/openf90
setenv F90 $topdir/bin/openf90
setenv F95 $topdir/bin/openf95