Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on ${SLURM_ARRAY_TASK_ID} #74

Open
shenlan17 opened this issue May 8, 2023 · 2 comments
Open

Issue on ${SLURM_ARRAY_TASK_ID} #74

shenlan17 opened this issue May 8, 2023 · 2 comments

Comments

@shenlan17
Copy link

shenlan17 commented May 8, 2023

Hi,
There is no SLURM on our linux server, thus , I changed the code as follows:

for i in $(seq 1 20);
do
cmd="anaconda/anaconda3/envs/python3.8.8/bin/python3.8 mixer/mixer-master/precimed/mixer.py snps --lib mixer/mixer-master/src/build/lib/libbgmg.so --bim-file mixer/1000G_EUR_Phase3_plink/1000G.EUR.QC.@.bim --ld-file mixer/1000G_EUR_Phase3_plink/1000G.EUR.QC.@.run4.ld --out mixer/1000G_EUR_Phase3_plink/1000G.EUR.QC.prune_maf0p05_rand2M_r2p8.rep"$i".snps --maf 0.05 --subset 2000000 --r2 0.8 --seed "$i
echo $cmd > mixer/test/a$i.sh
qsub -q cluster40@c007 -e mixer/test/$i.err -o mixer/test/$i.out mixer/test/a$i.sh
done

I wonder if that's correct?

Thanks!

@XuanxiaoLi
Copy link

Hi,

Did your code work?

Thanks

@shenlan17
Copy link
Author

Hi,

Did your code work?

Thanks

yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants