This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tools:autosubmit_extrae [2018/08/31 14:50] spalomas |
tools:autosubmit_extrae [2018/08/31 14:51] spalomas |
||
---|---|---|---|
Line 52: | Line 52: | ||
2. In order to use Extrae package, you need to add it before the execution. One way you could do this is modifying the trace.sh script that you want to use adding the needed modules for the remote platform. | 2. In order to use Extrae package, you need to add it before the execution. One way you could do this is modifying the trace.sh script that you want to use adding the needed modules for the remote platform. | ||
- | path/ | + | vi path/ |
+ | |||
+ | # -------------------------------------- | ||
#!/bin/bash | #!/bin/bash | ||
+ | |||
module add gcc/7.2.0 | module add gcc/7.2.0 | ||
+ | |||
module add EXTRAE/ | module add EXTRAE/ | ||
+ | |||
source / | source / | ||
+ | |||
export EXTRAE_CONFIG_FILE=/ | export EXTRAE_CONFIG_FILE=/ | ||
+ | |||
export LD_PRELOAD=${EXTRAE_HOME}/ | export LD_PRELOAD=${EXTRAE_HOME}/ | ||
+ | |||
## Run the desired program | ## Run the desired program | ||
+ | |||
$* | $* | ||
3. Run your experiment as usual. Check that all changes are done in the remote directory before the SIM job start. | 3. Run your experiment as usual. Check that all changes are done in the remote directory before the SIM job start. |