Skip to content

Commit

Permalink
Removed global example and slurm scripts, better in separate PR.
Browse files Browse the repository at this point in the history
  • Loading branch information
drnimbusrain committed Nov 7, 2023
1 parent a9f6988 commit 2bcab72
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 43 deletions.
29 changes: 0 additions & 29 deletions python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,32 +84,3 @@ You can also download and generate global gridded canopy-app inputs using Python
```
python global_data_process.py
```

### Running global data

1. Edit namelist for correct number of lat/lon grid points(`namelist.canopy`)

For example:
```
nlat = 1536
nlon = 3072
```

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

Slurm batch script suggestion:
```
#!/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 --nodes=1 # Request N nodes
#SBATCH --ntasks=1 # Request n tasks
#SBATCH --mem-per-cpu=1000GB # Request nGB RAM per core

conda activate canopy-app
python python/global_data_process.py
srun canopy
```
14 changes: 0 additions & 14 deletions run_canopy_slurm.sh

This file was deleted.

0 comments on commit 2bcab72

Please sign in to comment.