dke-questions
dke-questions > RE: Problems running in batch mode on linux
Oct 15, 2018 12:10 PM | Corinne McGill - MUSC
RE: Problems running in batch mode on linux
Hi Live,
Concerning the line that runs DKE, on a Mac you need to use the following format:
./run_dke.sh
not "./dke /home/eikeliv/Documents/MILD_TBI_DKE/test_loop_dke/${ID}/${ID}.dat".
Hope this helps!
Corinne
Originally posted by Live Eikenes:
Concerning the line that runs DKE, on a Mac you need to use the following format:
./run_dke.sh
not "./dke /home/eikeliv/Documents/MILD_TBI_DKE/test_loop_dke/${ID}/${ID}.dat".
Hope this helps!
Corinne
Originally posted by Live Eikenes:
Dear Emilie
Thanks for your suggestion. I tried the following:
#!/bin/bash
export ID_file=id_mTBI.txt
SUBJ_IDs=$(cat $ID_file)
for ID in $SUBJ_IDs ; do
./dke /home/eikeliv/Documents/MILD_TBI_DKE/test_loop_dke/${ID}/${ID}.dat
done
But got the following error message:
eikeliv@ntnu14028:~/dke$ ./runDKE_mTBI_test.sh
bash: ./runDKE_mTBI_test.sh: /bin/bash^M: bad interpreter: No such file or directory
But I cannot figure out what is wrong.
Best,
Live
Thanks for your suggestion. I tried the following:
#!/bin/bash
export ID_file=id_mTBI.txt
SUBJ_IDs=$(cat $ID_file)
for ID in $SUBJ_IDs ; do
./dke /home/eikeliv/Documents/MILD_TBI_DKE/test_loop_dke/${ID}/${ID}.dat
done
But got the following error message:
eikeliv@ntnu14028:~/dke$ ./runDKE_mTBI_test.sh
bash: ./runDKE_mTBI_test.sh: /bin/bash^M: bad interpreter: No such file or directory
But I cannot figure out what is wrong.
Best,
Live
Threaded View
Title | Author | Date |
---|---|---|
Live Eikenes | Oct 3, 2018 | |
Live Eikenes | Oct 15, 2018 | |
Corinne McGill | Oct 15, 2018 | |
Live Eikenes | Oct 15, 2018 | |
David Lewis | Oct 15, 2018 | |
Emilie McKinnon | Oct 12, 2018 | |
David Lewis | Oct 3, 2018 | |
Live Eikenes | Oct 4, 2018 | |