some more work on python3 compatible scripts
This commit is contained in:
parent
8b82941014
commit
88fc37d8a7
2
PRIVATE
2
PRIVATE
|
@ -1 +1 @@
|
|||
Subproject commit 3358be226989780b4969554e688a1bdff3d02c70
|
||||
Subproject commit 5d43a56aa25e90462660056a45648caedd99dac6
|
|
@ -21,7 +21,7 @@ class Abaqus(Solver):
|
|||
except OSError: # link to abqXXX not existing
|
||||
cmd='abaqus'
|
||||
process = subprocess.Popen(['abaqus','information=release'],stdout = subprocess.PIPE,stderr = subprocess.PIPE)
|
||||
detectedVersion = process.stdout.readlines()[1].split()[1]
|
||||
detectedVersion = process.stdout.readlines()[1].split()[1].decode('utf-8')
|
||||
if self.version != detectedVersion:
|
||||
raise Exception('found Abaqus version {}, but requested {}'.format(detectedVersion,self.version))
|
||||
return '{} -job {} -user {}/src/DAMASK_abaqus interactive'.format(cmd,model,env.rootDir())
|
||||
|
|
Loading…
Reference in New Issue