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

TADrun.sh question #1

Open
mojy3995 opened this issue Jun 27, 2023 · 4 comments
Open

TADrun.sh question #1

mojy3995 opened this issue Jun 27, 2023 · 4 comments

Comments

@mojy3995
Copy link

mojy3995 commented Jun 27, 2023

@LiujuanRachelTang @Delta-function
What are those $SLURM_ARRAY_TASK_ID $SLURM_ARRAY_TASK_COUNT in the following lines at TADrun.sh?

echo "host name is hostname : $SLURM_ARRAY_TASK_ID $SLURM_ARRAY_TASK_COUNT ../fort.63.nc"
cp ../TXstabilize/fort.63.nc tt/${SLURM_ARRAY_TASK_ID}.nc
./TADcalc_mp.py $SLURM_ARRAY_TASK_ID $SLURM_ARRAY_TASK_COUNT tt/${SLURM_ARRAY_TASK_ID}.nc
date

@LiujuanRachelTang
Copy link
Contributor

LiujuanRachelTang commented Jun 27, 2023 via email

@mojy3995
Copy link
Author

I am not sure. On TADcalc_mp.py, line 12, # call as TADcalc_mp.py TASK_ID TASK_COUNT filename
Does it mean that those TASK_ID and TASK_COUNT should be defined at TADrun.sh?
@Delta-function: could you please provide an example?

@LiujuanRachelTang
Copy link
Contributor

LiujuanRachelTang commented Jun 27, 2023 via email

@mojy3995
Copy link
Author

@Delta-function, Could you please send me the link for one of your fort.63.nc. I need to see how these three scripts work.

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