diff --git a/cfg/mn2l-gaston/comp.cfg b/cfg/mn2l-gaston/comp.cfg new file mode 100644 index 0000000000000000000000000000000000000000..6a8cea60cb3f3c4c9274bfd16b350c5ec59acc88 --- /dev/null +++ b/cfg/mn2l-gaston/comp.cfg @@ -0,0 +1,5 @@ +self.pars['CMAKELIST'].val='mn2l-gaston.cmake' +self.pars['NB_TASKS'].val='6' +self.pars['NB_THREADS'].val='1' +self.pars['RUNMETHOD'].vals=['interactive','at','batch',] +self.pars['RUNMETHOD'].val='batch' diff --git a/cfg/mn2l-gaston/launch.cfg b/cfg/mn2l-gaston/launch.cfg new file mode 100644 index 0000000000000000000000000000000000000000..12256a89f06c5501b848f3489ea602aed964e83d --- /dev/null +++ b/cfg/mn2l-gaston/launch.cfg @@ -0,0 +1,4 @@ +self.pars['NB_THREADS'].val='6' +self.pars['NB_TASKS'].val='1' +self.pars['RUNMETHOD'].vals=['interactive','at','batch'] +self.pars['RUNMETHOD'].val='batch' diff --git a/parametricJob.py b/parametricJob.py index 609b0eee75f7e83cf19a8ebbeaa2a22dd4f614db..ddd84357aee0d307e5acf49a7a6013fc35f31ea9 100644 --- a/parametricJob.py +++ b/parametricJob.py @@ -155,7 +155,7 @@ class ParametricJob(PRMSet): sys.exit(1) def guessProfile(self): - for cfgfile in [os.path.join(os.path.split(__file__)[0], 'env.sh'), + for cfgfile in [os.path.join(os.path.split(__file__)[0],'..','env.sh'), os.path.expanduser('~/.profile'), os.path.expanduser('~/.bash_profile')]: if os.path.isfile(cfgfile):