fractal-analytics-platform / fractal-containers

Containers for testing Fractal
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Merge fractal-server and slurm-master Dockerfiles, in `advanced` #7

Closed tcompa closed 11 months ago

tcompa commented 11 months ago

Start with current slurm-master, and add all the current fractal-server directives.

tcompa commented 11 months ago

To do: test (by hand or with a script) that you can submit a job for execution, via sbatch.

aangelone2 commented 11 months ago

slurm-master and server services have been joined in 3b5974d.

The joint dockerfile could be cleaned up (some installations/steps may prove to be unnecessary, e.g., python3.9 and pip, symlink creation).

python3.9-dev is required for psycopg2 besides the usual dependencies (python-dev and python3-dev are older versions, can probably be removed safely).

The created dockerfile does not properly start the server, yielding the error

socket.gaierror: [Errno -2] Name or service not known

tcompa commented 11 months ago

Closing for now, as we are taking a different direction with this repo for the moment (ref #19).