diff --git a/cfg/frontal3/mumps.profile b/cfg/frontal3/mumps.profile new file mode 100644 index 0000000000000000000000000000000000000000..e5765f5d13eab6b8d43c254bd8ccacc4a3a18aa6 --- /dev/null +++ b/cfg/frontal3/mumps.profile @@ -0,0 +1,4 @@ +# mumps compile avec Pord et mklrt +add2env LD_LIBRARY_PATH "/projects/acad/hpcwe/softs/mumps/lib" front +add2env LIB "/projects/acad/hpcwe/softs/mumps/lib" front +add2env INCLUDE "/projects/acad/hpcwe/softs/mumps/include" front diff --git a/comp.py b/comp.py index c7414b572c80f06176bc3cee932d16363544fe00..020dda9d4f05267d4c957ffb0eab2e88a068b4ca 100755 --- a/comp.py +++ b/comp.py @@ -52,7 +52,11 @@ class CompJob(ParametricJob): TextPRM(self.pars, 'MAIL_ADDR', 'e-mail address (reports)', os.getenv('USER')) TextPRM(self.pars, 'SMTP_SERV', 'SMTP email server', 'smtp.ulg.ac.be') TextPRM(self.pars, 'ARC_NAME', 'archive name', '~/dev.zip') - TextPRM(self.pars, 'CMAKELIST', 'build options', "%s.cmake" % socket.gethostbyaddr(socket.gethostname())[0].split('.')[0]) + try: + machineName = socket.gethostbyaddr(socket.gethostname())[0].split('.')[0] # lpx : marche pas dans des vbox + except: + machineName = socket.gethostname().split('.')[0] # marche dans ma vbox + TextPRM(self.pars, 'CMAKELIST', 'build options', "%s.cmake" %machineName) YesNoPRM(self.pars, 'DEBUG_MODE', 'debug mode', False) TextPRM(self.pars, 'NICE_VALUE', 'nice value', "0") diff --git a/prmClasses.py b/prmClasses.py index 9b11789ff55e3ea474522aafc0fdd485715f7957..a4869914a73bdbdd90c775ce307d53edf3c50eba 100644 --- a/prmClasses.py +++ b/prmClasses.py @@ -159,7 +159,7 @@ class MultiPRM(PRM): def writePRM(self, file): file.write("self.pars['%s'].vals=["%(self.key)) for v in self.vals: - file.write("'%s'," % (v)) + file.write("'%s'," % (repr(v))) file.write("]\n") PRM.writePRM(self,file)