TACC / launcher

A simple utility for executing multiple sequential or multi-threaded applications in a single multi-node batch job
MIT License
63 stars 33 forks source link

[ENH] Use LAUNCHER_NETCAT_FLAGS to add -d in cray systems #11

Closed oesteban closed 7 years ago

oesteban commented 7 years ago

This patch will run the regular nc command (without -d) if the variable is not set. The $LAUNCHER_NETCAT_FLAGS can be exported at module load:

-- Use -d (cray-specific) in nc command only in LS5
if string.match(os.getenv("TACC_SYSTEM"), "ls5") then
    setenv("LAUNCHER_NETCAT_FLAGS", "-d")
end

Sorry, I accidentally removed the branch and closed the previous PR (#10 )

lwilson commented 7 years ago

Thanks @oesteban. It may eventually be worthwhile to build this into a system-specific set of config values, like rsh/ssh for remote connection, etc.

I will merge this into the master so it's available in the next release.