| 1 | Sometimes you are doing something with IGCM and you get a random error message, which may or may not be reproducible. This page is a collection of error messages you might see and fixes which sometimes work to avoid them in the future. |
| 2 | |
| 3 | This is for a problem on Curie. Once I get the error message again, I'll post it. This is just to remind me what the fix was for the moment. |
| 4 | I had to change the following in libIGCM_sys_curie.ksh. |
| 5 | |
| 6 | {{{ |
| 7 | else |
| 8 | # Default : ccc_mprun is NOT used if nb_proc eq 1 |
| 9 | # to have out/err per process on different files |
| 10 | # echo "./${ExeNameOut} > out_${ExeNameOut}.out 2>out_${ExeNameOut}.err" >> script_${ExeNameOut}.ksh |
| 11 | echo "./${ExeNameOut}" >> script_${ExeNameOut}.ksh |
| 12 | EXECUTION="/usr/bin/time ./script_${ExeNameOut}.ksh" |
| 13 | fi |
| 14 | }}} |
| 15 | |
| 16 | can be changed to |
| 17 | |
| 18 | {{{ |
| 19 | else |
| 20 | # Default : ccc_mprun is NOT used if nb_proc eq 1 |
| 21 | # to have out/err per process on different files |
| 22 | # echo "./${ExeNameOut} > out_${ExeNameOut}.out 2>out_${ExeNameOut}.err" >> script_${ExeNameOut}.ksh |
| 23 | echo "#!/bin/ksh" > script_${ExeNameOut}.ksh |
| 24 | echo "./${ExeNameOut}" >> script_${ExeNameOut}.ksh |
| 25 | IGCM_sys_Chmod u+x script_${ExeNameOut}.ksh |
| 26 | EXECUTION="/usr/bin/time ./script_${ExeNameOut}.ksh" |
| 27 | fi |
| 28 | }}} |
| 29 | |
| 30 | This adds a line to the beginning of the script which defines the execution shell (and allows it to execute in case a shell has not already been defined), in addition to making the script executable. It seems to run now, though I'm not 100% sure that the output files are correct (I get a crash). Still looking into it. |