Skip to content
Snippets Groups Projects
Commit 1ea318a4 authored by Schiffer, Christian's avatar Schiffer, Christian
Browse files

New jureca stage

parent 70e837a9
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# Start server on remote machine
USER=schiffer1
HOST=jureca11.fz-juelich.de
HOST=jureca10.fz-juelich.de
COMMAND='cd /p/home/jusers/schiffer1/jureca/project_jinm16/atlasui/atlas_controller/; source load_modules.sh; source venv/bin/activate; export PYTHONPATH=`pwd`:$PYTHONPATH; python atlas_controller/app.py'
RECONNECT=60
......
......@@ -2,7 +2,7 @@
# Start SSH tunnel
USER=schiffer1
HOST=jureca11.fz-juelich.de
HOST=jureca10.fz-juelich.de
RECONNECT=60
echo "Starting SSH tunnel..."
......
#!/bin/bash
#!/bin/bash -ex
# Load modules
echo Loading modules...
# Note: Purge important, surrounding atlas_controller might have a different environment.
module purge
export SOFTWARE_STAGE=2022
export OTHERSTAGES=/p/software/jurecadc/otherstages
source ${HOME}/galaxy/init.sh
export ATLAS_MODULE=atlas
module use ${OTHERSTAGES} &> /dev/null
module use ${SOFTWARE_STAGE_MODULES} &> /dev/null
module load ${ATLAS_MODULE}
echo Modules loaded
# Use the dev packages
......
#!/bin/bash
#!/bin/bash -ex
# Load modules
echo Loading modules...
# Note: Purge important, surrounding atlas_controller might have a different environment.
module purge
export SOFTWARE_STAGE=2022
export OTHERSTAGES=/p/software/jurecadc/otherstages
source ${HOME}/galaxy/init.sh
export ATLAS_MODULE=atlas
module use ${OTHERSTAGES} &> /dev/null
module use ${SOFTWARE_STAGE_MODULES} &> /dev/null
module load ${ATLAS_MODULE}
echo Modules loaded
# Use the dev packages
......@@ -32,6 +27,10 @@ INPUT_SPACING=1
OUTPUT_SPACING=16
PREFIX="mask"
which python
ml atlas
which python
# Get path to TIFF images to determine shape
IMAGE_PATTERN=`python -c "from atlas import constants; print(constants.original_path.format(brain=int('${BRAIN}'), slice=1234))"`
echo "Image pattern: ${IMAGE_PATTERN}"
......
......@@ -25,6 +25,8 @@ services:
atlas-server-mongodb:
image: mongo:4.2.2
restart: always
ports:
- 28017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment