Skip to content

Commit

Permalink
adding io functions to the MRC sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert McLay committed Jan 3, 2019
1 parent 4e96d4d commit d7914c3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions rt/over_sticky/mf/Core/intel/.modulerc.lua
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
if (os.getenv("RSNT_ARCH") == "avx512") then
io.stderr:write("Marking intel/2018.3 as default\n")
module_version("intel/2018.3","default")
else
io.stderr:write("Marking intel/2016.4 as default\n")
module_version("intel/2016.4","default")
end

2 changes: 1 addition & 1 deletion rt/over_sticky/modulerc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
module-version boost/1.60.0 default
module-version boost-mpi/1.60.0 default
module-version imkl/11.3.4.258 default
module-version intel/2016.4 default
#module-version intel/2016.4 default
module-version openmpi/2.1.1 default
module-version gcc/5.4.0 default
module-version cuda/8.0.44 default
Expand Down
1 change: 1 addition & 0 deletions src/mrc_sandbox.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ local mrc_sandbox_env = {
hide_modulefile = hide_modulefile,
os = { clock = os.clock, difftime = os.difftime, time = os.time, date = os.date,
getenv = os.getenv, execute = os.execute},
io = { stderr = io.stderr, open = io.open, close = io.close, write = io.write },
------------------------------------------------------------
-- fileOp functions
------------------------------------------------------------
Expand Down

0 comments on commit d7914c3

Please sign in to comment.