Closed falkamelung closed 3 years ago
Is this script intended to take PLATFORM_NAME as an input parameter (ie read_platform_defaults.bash --platform stampede2
)
Yes, almost. $PLATFORM_NAME will exist as environment variable so we would just run as
read_platform_defaults.bash
and it will use $PLATFORM_NAME
internally.
And it should assume that /accounts/platforms_defaults.cfg
exist
This will be in the .bashrc
so we better ommit --platform $PLATFORM_NAME
. But items 1,2,3 are higher priority.
Just committed this.
To simplify our defaults we need a script
read_platform_defaults.bash
that readssuggestion_platforms_defaults.cfg
(committed in /accounts; will be renamed to platforms_defaults.cfg) and exports as environment variables.$PLATFORM_NAME
is given and then it should runexport JOBSCHEDULER=SLURM
,export QUEUENAME=skx-normal
, etc.If one of the environment variables is set already, it should NOT overwrite them (to allow for personal customization)