ld32 / SmartSlurm

2 stars 0 forks source link

error messages about creating a output or error directory #21

Open hongdavid94 opened 1 year ago

hongdavid94 commented 1 year ago

I am getting messages about setting the "out" and "err" files for each sbatch commands. my usual header for sbatch job has

#SBATCH -o out_dir/out_%x_%a.out
#SBATCH -e err_dir/err_%x_%a.err

where %x is the job name and %a is the array id. error-message_2.txt

I tried running the script after creating the out_dir and err_dir in the directory where the script runs, but I am encountering some errors, the error messages and the content of my code are attached.

ld32 commented 1 year ago

Sorry, it does not support job array yet.


From: hongdavid94 @.> Sent: Monday, January 30, 2023 12:38 PM To: ld32/smartSlurm @.> Cc: Subscribed @.***> Subject: [ld32/smartSlurm] error messages about creating a output or error directory (Issue #21)

I am getting messages about setting the "out" and "err" files for each sbatch commands. my usual header for sbatch job has

SBATCH -o outdir/out%x_%a.out

SBATCH -e errdir/err%x_%a.err

where %x is the job name and %a is the array id. error-message_2.txthttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ld32_smartSlurm_files_10538421_error-2Dmessage-5F2.txt&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=rAZ9FtDwL_lspylnpsMBy0CWGx52Inf5xebABoqIDzw&m=wOHJc9L0037z-M_-e4nYkU2oZwv3ZroHREFotXxH5Z-dPDTk7ZflEh-WIyaI0Jpt&s=TMgYNlQhmbeAVcXH3K1uDBEOQwvEXC6-VGz1ywVWs_k&e=

I tried running the script after creating the out_dir and err_dir in the directory where the script runs, but I am encountering some errors, the error messages and the content of my code are attached.

— Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ld32_smartSlurm_issues_21&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=rAZ9FtDwL_lspylnpsMBy0CWGx52Inf5xebABoqIDzw&m=wOHJc9L0037z-M_-e4nYkU2oZwv3ZroHREFotXxH5Z-dPDTk7ZflEh-WIyaI0Jpt&s=LvBl5_4rYPxgAOXFA40Sbcc76BlN-wzgMjYxp_luZPw&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AB3TEG4WNGZYR375ASZOZ33WU74BLANCNFSM6AAAAAAULN7DLU&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=rAZ9FtDwL_lspylnpsMBy0CWGx52Inf5xebABoqIDzw&m=wOHJc9L0037z-M_-e4nYkU2oZwv3ZroHREFotXxH5Z-dPDTk7ZflEh-WIyaI0Jpt&s=9QWwJsUQ3X-3x7nD-e5XpHBmCmkEn0FfGPk1h3EcHIA&e=. You are receiving this because you are subscribed to this thread.Message ID: @.***>

ld32 commented 1 year ago

Actually, job array in Slurm does not support dynamic resource allocation, meaning all jobs in the array always have the same amount memory/CPU/run-time.


From: hongdavid94 @.> Sent: Monday, January 30, 2023 12:38 PM To: ld32/smartSlurm @.> Cc: Subscribed @.***> Subject: [ld32/smartSlurm] error messages about creating a output or error directory (Issue #21)

I am getting messages about setting the "out" and "err" files for each sbatch commands. my usual header for sbatch job has

SBATCH -o outdir/out%x_%a.out

SBATCH -e errdir/err%x_%a.err

where %x is the job name and %a is the array id. error-message_2.txthttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ld32_smartSlurm_files_10538421_error-2Dmessage-5F2.txt&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=rAZ9FtDwL_lspylnpsMBy0CWGx52Inf5xebABoqIDzw&m=wOHJc9L0037z-M_-e4nYkU2oZwv3ZroHREFotXxH5Z-dPDTk7ZflEh-WIyaI0Jpt&s=TMgYNlQhmbeAVcXH3K1uDBEOQwvEXC6-VGz1ywVWs_k&e=

I tried running the script after creating the out_dir and err_dir in the directory where the script runs, but I am encountering some errors, the error messages and the content of my code are attached.

— Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ld32_smartSlurm_issues_21&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=rAZ9FtDwL_lspylnpsMBy0CWGx52Inf5xebABoqIDzw&m=wOHJc9L0037z-M_-e4nYkU2oZwv3ZroHREFotXxH5Z-dPDTk7ZflEh-WIyaI0Jpt&s=LvBl5_4rYPxgAOXFA40Sbcc76BlN-wzgMjYxp_luZPw&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AB3TEG4WNGZYR375ASZOZ33WU74BLANCNFSM6AAAAAAULN7DLU&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=rAZ9FtDwL_lspylnpsMBy0CWGx52Inf5xebABoqIDzw&m=wOHJc9L0037z-M_-e4nYkU2oZwv3ZroHREFotXxH5Z-dPDTk7ZflEh-WIyaI0Jpt&s=9QWwJsUQ3X-3x7nD-e5XpHBmCmkEn0FfGPk1h3EcHIA&e=. You are receiving this because you are subscribed to this thread.Message ID: @.***>