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

Large memory node needed for certain processes #82

Open
n-equals-one opened this issue Feb 27, 2024 · 2 comments
Open

Large memory node needed for certain processes #82

n-equals-one opened this issue Feb 27, 2024 · 2 comments

Comments

@n-equals-one
Copy link

I realized that most likely we need a big memory node for the FCS-GX process.

I am not sot sure how to ask for a specific type of node for a certain process. (e.g. "-C mem1TB")

@mahesh-panchal
Copy link
Collaborator

Like this in your local nextflow.config:

process {
    withName: 'HIFIASM' {
        cpus   = 20
        memory = 1024.GB
        time   = 5.d
        clusterOptions = { "-A $params.project -C mem1TB" }
    }
}

See https://github.com/NBISweden/BGE-Austropotamobius_torrentium-2024-assembly/tree/main/analyses/01_assembly-workflow_initial-run_rackham

@mahesh-panchal
Copy link
Collaborator

Doing some testing:
Have implemented ramdisk. Must use large memory node if ramdisk is used, otherwise ends up:

  2024/03/07 16:01:05 NOTICE: Config file "/home/mahesh/.rclone.conf" not found - using defaults
  2024/03/07 16:01:05 ERROR : all.gxi: Failed to copy: preallocate: file too big for remaining disk space
  2024/03/07 16:01:05 ERROR : all.gxs: Failed to copy: preallocate: file too big for remaining disk space
  2024/03/07 16:01:06 ERROR : Attempt 1/3 failed with 2 errors and: preallocate: file too big for remaining disk space
  2024/03/07 16:01:06 ERROR : all.gxs: Failed to copy: preallocate: file too big for remaining disk space
  2024/03/07 16:01:06 ERROR : all.gxi: Failed to copy: preallocate: file too big for remaining disk space
  2024/03/07 16:01:06 ERROR : Attempt 2/3 failed with 2 errors and: preallocate: file too big for remaining disk space
  2024/03/07 16:01:06 ERROR : all.gxi: Failed to copy: preallocate: file too big for remaining disk space
  2024/03/07 16:01:06 ERROR : all.gxs: Failed to copy: preallocate: file too big for remaining disk space
  2024/03/07 16:01:06 ERROR : Attempt 3/3 failed with 2 errors and: preallocate: file too big for remaining disk space
  2024/03/07 16:01:06 Failed to copy with 2 errors: last error was: preallocate: file too big for remaining disk space

without ramdisk running time is very long, but doesn't use up much memory, or cores.
Estelle's run showed:

from execution_traces:
name: FCSGX_RUNGX (hifiasm-decontaminated-default-hap0)
duration: 5d 10h 31m 49s
realtime: 5d 6h 45m 35s
%cpu: 13.2%
peak_rss: 12.9 GB
peak_vmem: 467 GB
rchar: 3.8 GB
wchar: 3.7 GB

i.e. very poor memory and cpu utilization, but took 5.5 days.

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