-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
495 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
=========================== | ||
step 1 | ||
lua ProjectDIR/src/lmod.in.lua shell --regression_testing --version | ||
=========================== | ||
Modules based on Lua: Version 8.7.47 2024-07-22 10:04 -04:00 | ||
by Robert McLay [email protected] | ||
=========================== | ||
step 2 | ||
lua ProjectDIR/src/lmod.in.lua shell --regression_testing load git | ||
=========================== | ||
=========================== | ||
step 3 | ||
lua ProjectDIR/src/lmod.in.lua shell --regression_testing save | ||
=========================== | ||
Saved current collection of modules to: "default" | ||
=========================== | ||
step 4 | ||
lua ProjectDIR/src/lmod.in.lua shell --regression_testing purge | ||
=========================== | ||
=========================== | ||
step 5 | ||
lua ProjectDIR/src/lmod.in.lua shell --regression_testing load gcc | ||
=========================== | ||
=========================== | ||
step 6 | ||
lua ProjectDIR/src/lmod.in.lua shell --regression_testing restore | ||
=========================== | ||
Restoring modules from user's default | ||
=========================== | ||
step 7 | ||
lua ProjectDIR/src/lmod.in.lua shell --regression_testing purge | ||
=========================== | ||
=========================== | ||
step 8 | ||
lua ProjectDIR/src/lmod.in.lua shell --regression_testing load gcc | ||
=========================== | ||
=========================== | ||
step 9 | ||
lua ProjectDIR/src/lmod.in.lua shell --regression_testing reset | ||
=========================== | ||
Running "module reset". Resetting modules to system default. The following $MODULEPATH directories have been removed: None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--[[ lmod for gcc 13.2.0 | ||
Installed as: | ||
wget https://ftp.gnu.org/gnu/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz | ||
tar -xf gcc-13.2.0.tar.xz | ||
cd gcc-13.2.0 | ||
./contrib/download_prerequisites | ||
mkdir build-gcc-13.2.0 && cd build-gcc-13.2.0 | ||
../configure --prefix=/ford1/share/gmao_SIteam/gcc/gcc-13.2.0 \ | ||
--enable-languages=c,c++,fortran --disable-multilib |& tee configure.log | ||
make -j 6 |& tee make.log | ||
make install |& tee makeinstall.log | ||
--]] | ||
|
||
family("Compiler") | ||
|
||
local compilername = "gcc" | ||
local version = "13.2.0" | ||
local versioned_compiler = compilername .. "-" .. version | ||
local siteamdir = "/ford1/share/gmao_SIteam" | ||
local installdir = pathJoin(siteamdir,compilername,versioned_compiler) | ||
|
||
-- Setup Modulepath for packages built by this compiler | ||
local mroot = "/ford1/share/gmao_SIteam/lmodulefiles" | ||
local mdir = pathJoin(mroot,"Compiler/gcc-13.2.0") | ||
prepend_path("MODULEPATH", mdir) | ||
|
||
prepend_path("PATH",pathJoin(installdir,"bin")) | ||
prepend_path("LD_LIBRARY_PATH",pathJoin(installdir,"lib64")) | ||
prepend_path("LIBRARY_PATH",pathJoin(installdir,"lib64")) | ||
prepend_path("INCLUDE",pathJoin(installdir,"include")) | ||
prepend_path("INCLUDE",pathJoin(installdir,"include/c++",version)) | ||
prepend_path("MANPATH",pathJoin(installdir,"share/man")) | ||
|
||
setenv("CC",pathJoin(installdir,"bin","gcc")) | ||
setenv("CXX",pathJoin(installdir,"bin","g++")) | ||
setenv("FC",pathJoin(installdir,"bin","gfortran")) | ||
setenv("F90",pathJoin(installdir,"bin","gfortran")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--[[ File for git | ||
Built as: | ||
./configure --prefix=/ford1/share/gmao_SIteam/git/git-2.40.1 |& tee configure.log | ||
Then: | ||
make -j4 all |& tee make.log | ||
make install |& tee makeinstall.log | ||
To get the man pages, download the: | ||
git-manpages-2.40.1.tar.xz | ||
tarball from: | ||
https://mirrors.edge.kernel.org/pub/software/scm/git/ | ||
and then do: | ||
mkdir -p /ford1/share/gmao_SIteam/git/git-2.40.1/share/man | ||
tar xf git-manpages-2.40.1.tar.xz -C /ford1/share/gmao_SIteam/git/git-2.40.1/share/man/ | ||
--]] | ||
|
||
local version = "git-2.40.1" | ||
local installdir = "/ford1/share/gmao_SIteam/git" | ||
|
||
local pkgdir = pathJoin(installdir,version) | ||
|
||
prepend_path("PATH",pathJoin(pkgdir,"bin")) | ||
prepend_path("MANPATH",pathJoin(pkgdir,"share/man")) |
Oops, something went wrong.