Mercurial > repos > siwaa > gama
comparison ESSAISENCOURS.txt @ 17:5a94c8c7c8cc draft
planemo upload for repository https://forgemia.inra.fr/nathalie.rousse/use/-/tree/gama/GAMA/galaxy-tools commit 927c1d94ea613d36a1b4b8d048ba21ad43a6f55e-dirty
author | siwaa |
---|---|
date | Mon, 10 Jun 2024 12:22:11 +0000 |
parents | 4117e2f0a591 |
children | 1437cd0df25b |
comparison
equal
deleted
inserted
replaced
16:4117e2f0a591 | 17:5a94c8c7c8cc |
---|---|
20 #------------------------------------------------------------------------------ | 20 #------------------------------------------------------------------------------ |
21 | 21 |
22 gama.def: | 22 gama.def: |
23 + chmod -R 777 /opt | 23 + chmod -R 777 /opt |
24 | 24 |
25 <tool id="gama_tool" name="gama" version="1.0.0o"> | 25 <tool id="gama_tool" name="gama" version="1.0.0p"> |
26 | 26 |
27 registry.forgemia.inra.fr/nathalie.rousse/use/gama:3fd4fb4b90db353af9bac01b99ee3b63220274c3 | 27 registry.forgemia.inra.fr/nathalie.rousse/use/gama:3fd4fb4b90db353af9bac01b99ee3b63220274c3 |
28 | 28 |
29 /bin/bash cmd_gama_headless.sh > run_server.txt & date > TTT.txt && sleep 400 && echo "fin sleep" >> TTT.txt && date >> TTT.txt && /bin/bash cmd_python_client.sh $nb_preys_init $nb_predators_init $nb_more_steps > run_client.txt; | 29 /bin/bash cmd_gama_headless.sh > run_server.txt & date > TTT.txt && sleep 600 && echo "fin sleep" >> TTT.txt && date >> TTT.txt && /bin/bash cmd_python_client.sh $nb_preys_init $nb_predators_init $nb_more_steps > run_client.txt; |
30 | |
31 chmod -R 777 gama-platform; | |
32 | |
33 vim MY_gama-headless.sh : | |
34 MY_JAVA_DIR=./_java | |
35 ... | |
36 echo "TRACE MY_gama-headless.sh: pwd:" | |
37 pwd; | |
38 pwd > RRR.txt | |
39 | |
40 if ! java -cp "$( dirname $( realpath "${BASH_SOURCE[0]}" ) )"/../plugins/org.eclipse.equinox.launcher*.jar -Xms512m $memory -Djava.io.tmpdir=$MY_TEMP_DIR -Djava.util.prefs.systemRoot=${MY_JAVA_DIR} -Djava.util.prefs.userRoot=${MY_JAVA_USER_PREFS_DIR} -Djava.awt.headless=true org.eclipse.core.launcher.Main -configuration "$( dirname $( realpath "${BASH_SOURCE[0]}" ) )"/configuration -application msi.gama.headless.product -data $passWork "$@"; then | |
41 | |
42 #------------------------------------------------------------------------------ | |
30 | 43 |
31 Singularity> echo $JAVA_HOME | 44 Singularity> echo $JAVA_HOME |
32 /opt/openjdk-17 | 45 /opt/openjdk-17 |
33 Singularity> which java | 46 Singularity> which java |
34 /opt/openjdk-17/bin/java | 47 /opt/openjdk-17/bin/java |
35 Singularity> java -version | 48 Singularity> java -version |
36 openjdk version "17-ea" 2021-09-14 | 49 openjdk version "17-ea" 2021-09-14 |
37 OpenJDK Runtime Environment (build 17-ea+14) | 50 OpenJDK Runtime Environment (build 17-ea+14) |
38 OpenJDK 64-Bit Server VM (build 17-ea+14, mixed mode, sharing) | 51 OpenJDK 64-Bit Server VM (build 17-ea+14, mixed mode, sharing) |
39 | 52 |
40 vim MY_gama-headless.sh : | |
41 MY_JAVA_DIR=./_java | |
42 ... | |
43 echo "TRACE MY_gama-headless.sh: pwd:" | |
44 pwd; | |
45 pwd > RRR.txt | |
46 | |
47 if ! java -cp "$( dirname $( realpath "${BASH_SOURCE[0]}" ) )"/../plugins/org.eclipse.equinox.launcher*.jar -Xms512m $memory -Djava.io.tmpdir=$MY_TEMP_DIR -Djava.util.prefs.systemRoot=${MY_JAVA_DIR} -Djava.util.prefs.userRoot=${MY_JAVA_USER_PREFS_DIR} -Djava.awt.headless=true org.eclipse.core.launcher.Main -configuration "$( dirname $( realpath "${BASH_SOURCE[0]}" ) )"/configuration -application msi.gama.headless.product -data $passWork "$@"; then | |
48 |