Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] how to build sdm for juno

Jean,
I think you'll find the "ntasks_per_node" is just an attribute name used by the PTP JAXB Slurm configuration.  When PTP generates the Slurm batch file you'll find it replaces this attribute name with:

NTASKS_PER_NODE="--ntasks-per-node=n"

Where n is the selected value for the tasks per node.  This script variable is then passed to srun on the command line.  To see these details, click "View Script" from the "Run Configurations" window in PTP.

Regards,
Simon Wail, Ph.D
HPC Specialist
IBM Research Collaboratory for Life Sciences - Melbourne


phone:
+61 3 9035-4341  fax: +61 3 8344-9130
address:
VLSCI, Gnd Floor, 187 Grattan St
Carlton   VIC   3010   Australia
email:
simon.wail@xxxxxxxxxxx







From:        Jean-Guillaume Piccinali <jgp@xxxxxxx>
To:        PTP User list <ptp-user@xxxxxxxxxxx>,
Date:        19/07/2012 12:30 AM
Subject:        Re: [ptp-user] how to build sdm for juno
Sent by:        ptp-user-bounces@xxxxxxxxxxx




Hi again,

I believe there is a conflict with my version of slurm and the arguments
used by SLURM-Generic-batch, for instance if i run :

sbatch --ntasks_per_node='2'
sbatch: unrecognized option '--ntasks_per_node=2'

A workaround is to replace --ntasks_per_node with --ntasks-per-node.
My sbatch --version is : slurm 2.3.4

Is there a way to change that in ptp ?
Or is eclipse already converting ntasks_per_node in ntasks-per-node ?

--
Jean-Guillaume Piccinali
National Supercomputing Service Group
CSCS - Swiss National Supercomputing Centre
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user



Back to the top