needs to follow rename of code folder, old Marc not supported any more
This commit is contained in:
parent
6d66f63378
commit
27063043b9
|
@ -13,9 +13,6 @@ class Marc(Solver):
|
|||
'2015': ['linux64',''],
|
||||
'2014.2':['linux64',''],
|
||||
'2014' :['linux64',''],
|
||||
'2013.1':['linux64',''],
|
||||
'2013': ['linux64',''],
|
||||
'2012': ['linux64',''],
|
||||
}
|
||||
|
||||
|
||||
|
@ -86,13 +83,13 @@ class Marc(Solver):
|
|||
|
||||
damaskEnv = damask.environment.Environment()
|
||||
|
||||
user = os.path.join(damaskEnv.relPath('code/'),'DAMASK_marc') # might be updated if special version (symlink) is found
|
||||
user = os.path.join(damaskEnv.relPath('src/'),'DAMASK_marc') # might be updated if special version (symlink) is found
|
||||
if compile:
|
||||
if os.path.isfile(os.path.join(damaskEnv.relPath('code/'),'DAMASK_marc%s.f90'%release)):
|
||||
user = os.path.join(damaskEnv.relPath('code/'),'DAMASK_marc%s'%release)
|
||||
if os.path.isfile(os.path.join(damaskEnv.relPath('src/'),'DAMASK_marc%s.f90'%release)):
|
||||
user = os.path.join(damaskEnv.relPath('src/'),'DAMASK_marc%s'%release)
|
||||
else:
|
||||
if os.path.isfile(os.path.join(damaskEnv.relPath('code/'),'DAMASK_marc%s.marc'%release)):
|
||||
user = os.path.join(damaskEnv.relPath('code/'),'DAMASK_marc%s'%release)
|
||||
if os.path.isfile(os.path.join(damaskEnv.relPath('src/'),'DAMASK_marc%s.marc'%release)):
|
||||
user = os.path.join(damaskEnv.relPath('src/'),'DAMASK_marc%s'%release)
|
||||
|
||||
# Define options [see Marc Installation and Operation Guide, pp 23]
|
||||
script = 'run_damask%s'%({False:'',True:'_'}[optimization!='' or openMP])
|
||||
|
|
Loading…
Reference in New Issue