-
Notifications
You must be signed in to change notification settings - Fork 129
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
10 changed files
with
37 additions
and
43 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,17 @@ | ||
-- -*- lua -*- | ||
local pkgName = "mpich2" | ||
local fn = myFileName():gsub("%.lua$","") | ||
local fullVersion = barefilename(fn) | ||
local pkgVersion = fullVersion:match("([0-9]+%.[0-9]+)%.?") | ||
local pkgNameFullV = pathJoin(pkgName,fullVersion) | ||
local pkgNameVer = pathJoin(pkgName,pkgVersion) | ||
local hierA = hierarchyA(pkgNameFullV,1) | ||
local compiler_dir = hierA[1] | ||
local pkgRoot = "/unknown/apps" | ||
local mdir = pathJoin(os.getenv('MODULEPATH_ROOT'), "MPI",compiler_dir,pkgNameVer) | ||
compiler_dir = compiler_dir:gsub("/","-"):gsub("%.","_") | ||
local mpihome = pathJoin(pkgRoot, compiler_dir, pkgNameFullV) | ||
|
||
family("MPI") | ||
prepend_path('MODULEPATH', mdir) | ||
|
This file was deleted.
Oops, something went wrong.
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,17 @@ | ||
-- -*- lua -*- | ||
local pkgName = "mpich2" | ||
local fn = myFileName():gsub("%.lua$","") | ||
local fullVersion = barefilename(fn) | ||
local pkgVersion = fullVersion:match("([0-9]+%.[0-9]+)%.?") | ||
local pkgNameFullV = pathJoin(pkgName,fullVersion) | ||
local pkgNameVer = pathJoin(pkgName,pkgVersion) | ||
local hierA = hierarchyA(pkgNameFullV,1) | ||
local compiler_dir = hierA[1] | ||
local pkgRoot = "/unknown/apps" | ||
local mdir = pathJoin(os.getenv('MODULEPATH_ROOT'), "MPI",compiler_dir,pkgNameVer) | ||
compiler_dir = compiler_dir:gsub("/","-"):gsub("%.","_") | ||
local mpihome = pathJoin(pkgRoot, compiler_dir, pkgNameFullV) | ||
|
||
family("MPI") | ||
prepend_path('MODULEPATH', mdir) | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
setenv("TOTO","set_in_B/2.0") | ||
if (mode() == "unload") then | ||
LmodError("Sucessfully raised mode error in unload of B/2.0") | ||
LmodError("Error in unload of B/2.0") | ||
end | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 @@ | ||
setenv("PETSC_VERSION","3.2") |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
setenv("PETSC_VERSION","3.2") |
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