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

docs: note that you need CUDA 11 #20

Merged
merged 1 commit into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ debugging, etc.)
`gpus`). In general, you should use as much `mem` as available on a single node
on your system, and use `nodes=1` (as multiple nodes are used via multiple
jobs).
4. Note that CUDA 11 is required (NOT Cuda 12), so ensure that the loaded modules are
correct. You can check this by running `module list` on your system.

### Running a Simulation

Expand Down
7 changes: 4 additions & 3 deletions vsim.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ def cli():
pass


@cli.command("runsim")
@_cli.opts.add_opts
def hera_cli(channels, freq_range, **kwargs):
def runsim(channels, freq_range, **kwargs):
"""Run HERA validation simulations.

Use the default parameters, configuration files, and directories for HERA sims
Expand Down Expand Up @@ -193,7 +192,9 @@ def cornerturn(

if channels is None:
allfiles = sorted(
simdir.glob(f"{sky_model}_fch????_nt17280_chunk{time_chunk:03d}_{layout}.uvh5")
simdir.glob(
f"{sky_model}_fch????_nt17280_chunk{time_chunk:03d}_{layout}.uvh5"
)
)
maxchan = int(allfiles[-1].name.split("fch")[1][:4])
if len(allfiles) != maxchan + 1:
Expand Down