Add a space at the end of the hostname computer, to make difference between irene and irene-amd.
Without this modification, jobs create on irene are like :
#!/bin/ksh
######################
## IRENE TGCC/CEA ##
######################
#MSUB -r lasttest # Job Name
#MSUB -o Script_Output_lasttest.000001 # standard output
#MSUB -e Script_Output_lasttest.000001 # error output
#MSUB -eo
#MSUB -n 610 # Number of MPI tasks (SPMD case) or cores (MPMD case)
#MSUB -x # exclusive node. To specify only for MPMD together with the one below
#MSUB -T 86400 # Wall clock limit (seconds)
#MSUB -A aercmip6
#MSUB -q skylake
#MSUB -m store,work,scratch
BATCH_NUM_PROC_TOT=$BRIDGE_MSUB_NPROC
set +x
-amd #!/bin/ksh
-amd ######################
-amd ## IRENE-AMD TGCC/CEA ##
-amd ######################
-amd #MSUB -r lasttest # Job Name
-amd #MSUB -o Script_Output_lasttest.000001 # standard output
-amd #MSUB -e Script_Output_lasttest.000001 # error output
-amd #MSUB -eo
-amd #MSUB -n 610 # Number of MPI tasks (SPMD case) or cores (MPMD case)
-amd #MSUB -x # exclusive node. To specify only for MPMD together with the one below
-amd #MSUB -T 86400 # Wall clock limit (seconds)
-amd #MSUB -A aercmip6
-amd #MSUB -q rome
-amd #MSUB -m store,work,scratch
-amd
-amd BATCH_NUM_PROC_TOT=$BRIDGE_MSUB_NPROC