FEM: elmer tasks, comment regression added with ece663444c
This commit is contained in:
@@ -113,11 +113,13 @@ class Solve(run.Solve):
|
||||
# Needed if elmer is compiled but not installed on Linux
|
||||
# http://www.elmerfem.org/forum/viewtopic.php?f=2&t=7119
|
||||
# https://stackoverflow.com/questions/1506010/how-to-use-export-with-python-on-linux
|
||||
"""
|
||||
if system() == "Linux" and "ELMER_HOME" not in os.environ:
|
||||
solvpath = os.path.split(binary)[0]
|
||||
if os.path.isdir(solvpath):
|
||||
os.environ["ELMER_HOME"] = solvpath
|
||||
os.environ["LD_LIBRARY_PATH"] = "$LD_LIBRARY_PATH:{}/modules".format(solvpath)
|
||||
"""
|
||||
self._process = subprocess.Popen(
|
||||
[binary], cwd=self.directory,
|
||||
stdout=subprocess.PIPE,
|
||||
|
||||
Reference in New Issue
Block a user