Skip to content
Snippets Groups Projects
Commit 462649a9 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

job out files contain iteration for pc host

parent 116cf619
No related branches found
No related tags found
No related merge requests found
...@@ -187,9 +187,10 @@ class code(base): ...@@ -187,9 +187,10 @@ class code(base):
os.chdir(self.work_dir) os.chdir(self.work_dir)
os.environ['LD_LIBRARY_PATH'] += ':{0}'.format(bfps.lib_dir) os.environ['LD_LIBRARY_PATH'] += ':{0}'.format(bfps.lib_dir)
for j in range(njobs): for j in range(njobs):
suffix = self.simname + '_{0}'.format(iter0 + j*self.parameters['niter_todo'])
subprocess.call(command_atoms, subprocess.call(command_atoms,
stdout = open(out_file + '_' + self.simname, 'w'), stdout = open(out_file + '_' + suffix, 'w'),
stderr = open(err_file + '_' + self.simname, 'w')) stderr = open(err_file + '_' + suffix, 'w'))
os.chdir(current_dir) os.chdir(current_dir)
return None return None
def write_sge_file( def write_sge_file(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment