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

Feature/nl format #96

Closed
wants to merge 16 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,17 @@ You can also download and generate global gridded canopy-app inputs using Python

2. Global inputs require a lot of memory, suggest not running on head node:

Slurm batch script suggestion:
Slurm batch script suggestion (cpu time = ~20-30 min for processing a single time step):
```
#!/bin/bash -l
#SBATCH --partition=bigmem # big memory node
#SBATCH --job-name=canopy-app # name the job
#SBATCH --output=canopy-%j.out # write stdout to named file
#SBATCH --error=canopy-%j.err # write stdout to named file
#SBATCH --time=0-04:00:00 # Run for max of 00 hrs, 10 mins, 00 secs
#SBATCH --time=0-02:00:00 # Run for max of 00 hrs, 10 mins, 00 secs
#SBATCH --nodes=1 # Request N nodes
#SBATCH --ntasks=1 # Request n tasks
#SBATCH --mem-per-cpu=1000GB # Request nGB RAM per core
#SBATCH --mem-per-cpu=60GB # Request nGB RAM per core
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@angehung5 A single node/task with your suggestion of 60GB memory may not work, please test this example.

I don't think we really need to increase ntasks because its not parallel code.

From my experience using a single node/task requires like about 256 GB memory.


conda activate canopy-app
python python/global_data_process.py 2020071512000,2020071612000,2020071712000
Expand Down
Loading