amuse icon indicating copy to clipboard operation
amuse copied to clipboard

working directory of workers

Open ipelupessy opened this issue 4 years ago • 5 comments

Is your feature request related to a problem? Please describe. currently there is implied that the working directory for locally started workers is ".", this can also not be changed

Describe the solution you'd like an option to set the working directory

Describe alternatives you've considered juggling chdir and datadir and output dirs...

Additional context the working directory should default to CWD for local workers, and affect the location in which mpi and socket workers are started. For remote workers it should default to whatever temporary location is named on the remote machine

ipelupessy avatar May 08 '21 16:05 ipelupessy

a number of (fortran) omuse codes have implemented a change_directory method - regardless of the above it may be good to include this always (in the base worker code for all languages..)

ipelupessy avatar May 10 '21 11:05 ipelupessy

and a corresponding getter..

ipelupessy avatar May 10 '21 11:05 ipelupessy

fixed by 1c64c22

ipelupessy avatar Apr 04 '23 12:04 ipelupessy

except no java stubs

ipelupessy avatar Apr 04 '23 12:04 ipelupessy