diff --git a/cfg/clifton/lagamine.profile b/cfg/clifton/lagamine.profile new file mode 100644 index 0000000000000000000000000000000000000000..f8e4775f5d0074110bc831b07f445a947b427092 --- /dev/null +++ b/cfg/clifton/lagamine.profile @@ -0,0 +1,3 @@ +add2env LD_LIBRARY_PATH "/opt/lagamine/lib" +add2env INCLUDE "/opt/lagamine/include" +add2env LIB "/opt/lagamine/lib" diff --git a/cfg/fabulous/modules.profile b/cfg/fabulous/modules.profile index f86861b51f8073ce6c6e4f32fda2824342260f20..12f50f7e190d646042b169a18c00a9cfd70d3598 100644 --- a/cfg/fabulous/modules.profile +++ b/cfg/fabulous/modules.profile @@ -5,7 +5,8 @@ module load gcc/9.3.0 cmake swig module load python/3.7.7 openssl module load qt vtk/7.1.1-Py3 parasolid mumps/mkl-tbb/4.10.0-gcc9.3 -module load lagamineAPI/200610-gcc9.3 +module load lagamineAPI +#module load lagamineAPI/200824-gcc9.3 module load samcef gmsh-sdk/4.5.6 module load isosurf tetgen triangle diff --git a/cfg/spring/eigen.profile b/cfg/spring/eigen.profile deleted file mode 100644 index a4fedac85f8ab2f70d390bc8818b3b78508462e3..0000000000000000000000000000000000000000 --- a/cfg/spring/eigen.profile +++ /dev/null @@ -1 +0,0 @@ -add2env INCLUDE "/opt/eigen/" diff --git a/cfg/spring/gmm.profile b/cfg/spring/gmm.profile deleted file mode 100644 index 3e5f080e8123b3ac6e4fb1e84cbfc6fdf1cb63fb..0000000000000000000000000000000000000000 --- a/cfg/spring/gmm.profile +++ /dev/null @@ -1 +0,0 @@ -add2env INCLUDE "/opt/gmm/include" diff --git a/cfg/thorgal/eigen.profile b/cfg/thorgal/eigen.profile deleted file mode 100644 index a4fedac85f8ab2f70d390bc8818b3b78508462e3..0000000000000000000000000000000000000000 --- a/cfg/thorgal/eigen.profile +++ /dev/null @@ -1 +0,0 @@ -add2env INCLUDE "/opt/eigen/" diff --git a/cfg/thorgal/gmm.profile b/cfg/thorgal/gmm.profile deleted file mode 100644 index 3e5f080e8123b3ac6e4fb1e84cbfc6fdf1cb63fb..0000000000000000000000000000000000000000 --- a/cfg/thorgal/gmm.profile +++ /dev/null @@ -1 +0,0 @@ -add2env INCLUDE "/opt/gmm/include" diff --git a/parametricJob.py b/parametricJob.py index d2a210af3619e35aea671dfbafddf13ab95573a8..4dfc0a9eeb7c61f85e451fdc67f1dad0b0fee0ed 100644 --- a/parametricJob.py +++ b/parametricJob.py @@ -68,8 +68,9 @@ class ParametricJob(PRMSet): except: text="file not found" import smtplib - server = smtplib.SMTP(smtpServ) - server.sendmail(fromA, toA, head+text) + server = smtplib.SMTP(smtpServ) + server.sendmail(fromA, toA, (head+text).encode('ascii','ignore')) + #server.sendmail(fromA, toA, head+text) server.quit() def mailhtml(self, file, subject): @@ -77,7 +78,8 @@ class ParametricJob(PRMSet): # getting address & smtp servers fromA, toA, smtpServ = self.getMailData() # building email - from email.MIMEText import MIMEText + #from email.MIMEText import MIMEText + from email.mime.text import MIMEText file = open(file,'r') text = file.read() file.close() @@ -108,7 +110,8 @@ class ParametricJob(PRMSet): mail['Subject'] = subject #mail.preamble = 'Battery result in attachement \n' machineName = socket.gethostname() - from email.MIMEText import MIMEText + #from email.MIMEText import MIMEText + from email.mime.text import MIMEText text = "Battery result on %s in attachement ...\n" % machineName msg = MIMEText(text, 'html','iso-8859-1') msg['From'] = fromA