Comments (7)
I checked, for some reason the memory argument was empty:
#PBS -l nodes=1:ppn=1
#PBS -l walltime=00:05:00
#PBS -l mem=
fobj=readRDS("flow_details.rds")
fobj@jobs[[1]]@memory
character(0)
Can you check the flow_definition file it it has memory in the right format.
from flowr.
flow_def needs the following column names:
memory_reserved: amount of memory reserved
cpu_reserved: number of CPU reserved
It is a attempt to differentiate this from:
cpu_used
For example, one may reserve a node with 12 cores (cpu_reserved), but would like to use only 6 (cpu_used) due to memory restrictions.
In future, would like to have both columns.
from flowr.
Yea, may be memory is shorter than memory_reserved.
I have added this:
513263c
from flowr.
Ok, so the second issue was with rendering.
- Update the package
- replace
{{
with{{{
as shown in: f7bf959 in your torque.sh
I have tested this:
https://github.com/sahilseth/flowr/blob/master/inst/extdata/example1_flow_mat.txt
from flowr.
Thanks and commit: f7bf959 is helpful to set up job scheduler config for more than one compute clusters.
Two minor issues:
- shell environment seems not passing correctly to compute nodes.
This requires me to hard code my individual commands and prefix module load <module>
to make sure env
has path to all required binaries and libraries. I see that my torque.sh has #PBS -r y -V
flag. Not sure if -V
can be supplied with array index or should be a new line.
- At line 3 of torque.sh, does
#PBS -l nodes={{{NODES}}}:
takes character vector? Although not intuitive, one of our compute nodes needs character and not numeric vector for number of nodes! If I supply character vector inflow_def.txt
under column: nodes, I see following in flowr submitted commands:
./002.make_config/make_config_cmd_1.sh:3:#PBS -l nodes=1:ppn=2
./003.chr/chr_cmd_16.sh:3:#PBS -l nodes=1:ppn=2
...
Thanks
from flowr.
Yes character vector is now supported. Can you try this with a column nodes
instead of nodes_reserved
.
I am going to make this simpler, for now this is what we have:
flow_def_column | hpc_script_variable |
---|---|
nodes | NODES |
cpu_reserved | CPU |
memory_reserved | MEMORY |
walltime | WALLTIME |
extra_opts | EXTRA_OPTS |
* | JOBNAME |
* | STDOUT |
* | CWD |
* | DEPENDENCY |
* | TRIGGER |
** | CMD |
*: These are generated on the fly
**: This is gathered from flow_mat
from flowr.
Hi @dyndna, I personally was not using/changing nodes variable, and seems had dropped it out of to_flow()
function.
I can confirm that it works now using this example:
exdata = file.path(system.file(package = "flowr"), "extdata")
flow_mat = read_sheet(file.path(exdata, "example1_flow_mat.txt"))
flow_def = read_sheet(file.path(exdata, "example1_flow_def2.txt"))
fobj = suppressMessages(to_flow(flow_mat, def = flow_def, platform = "torque"))
fobj[[1]]@jobs[[1]]@nodes
fobj = submit_flow(fobj)
Sorry for the confusion.
links:
def: https://github.com/sahilseth/flowr/blob/master/inst/extdata/example1_flow_def2.txt
change in to_flow: db0d3c6?diff=split
from flowr.
Related Issues (20)
- rerun ignores platform, when specified via run command HOT 1
- Add status column in the flow_details from the beginning
- Simplify the configuration setup HOT 1
- Pattern matching in kill is not always as expected
- issue with to_flow, if a data.frame is supplied, instead of a flowmat.
- relax flowr's default directory structure.
- killing flow with a single job, seems to be an issue HOT 3
- flowr flowdef bug while running scatter-gather approach HOT 2
- sge conf should be pbs? HOT 3
- Job execution on remote grid node HOT 2
- LSF CPU/core/thread request HOT 1
- Installing flowr fails from github - diagram pkg - Invalid comparison operator in dependency HOT 1
- error in dependent job tabulation in flow_details.txt for scatter type jobs HOT 1
- How to integrate flowr and dplyr HOT 1
- modifying commands/resources before re-running HOT 1
- Issue with recent R version, when creating a flowmat HOT 2
- automatically subset flowmat, incase of `rerun` HOT 2
- docs.flowr.space domain expired HOT 2
- it fails on slurm HOT 1
- module_cmds missing in rerun
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flowr.