Hi Suprita, 

You request 50 MB per CPU and one task, but the node definition in
slurm.conf does not contain the attribute "RealMemory".  The default
value is 1 MB, so Slurm cannot find a node which satisfies your request.

Cheers,

Loris

<[email protected]> writes:

> Hi 
>
> I am submitting job using sbatch command.
>
> And my script is as follows:
>
> #!/bin/sh
>
> source /etc/profile
>
> source $HOME/.bashrc
>
> #SBATCH --job-name=222e
>
> #SBATCH --output=slurm-%j.out
>
> #SBATCH --error=slurm-%j.err
>
> #SBATCH --ntasks=1
>
> #SBATCH --mem-per-cpu=50
>
> #SBATCH --account=dhvani
>
> #SBATCH [email protected]
>
> #SBATCH --mail-type=ALL
>
> cd /home1/dhvani/namd_input/;
>
> MACHINE_FILE=/home1/dhvani/namd_input//machinefile
>
> /opt/slurm/bin/scontrol show hostname $SLURM_JOB_NODELIST &> $MACHINE_FILE
>
> /opt/pkgs/NAMD_2.9_Linux-x86_64-multicore/namd2
> /home1/dhvani/namd_input/apoa1.namd > 22323
>
> But it is giving error: Requested node configuration is not available.(due to
> memory option)
>
> I am attaching the slurm.conf file too.
>
> Kindly help.
>
> Regards 
>
> Suprita
>
> The information contained in this electronic message and any attachments to 
> this
> message are intended for the exclusive use of the addressee(s) and may contain
> proprietary, confidential or privileged information. If you are not the 
> intended
> recipient, you should not disseminate, distribute or copy this e-mail. Please
> notify the sender immediately and destroy all copies of this message and any
> attachments. WARNING: Computer viruses can be transmitted via email. The
> recipient should check this email and any attachments for the presence of
> viruses. The company accepts no liability for any damage caused by any virus
> transmitted by this email. www.wipro.com 
>
> #
> # Example slurm.conf file. Please run configurator.html
> # (in doc/html) to build a configuration file customized
> # for your environment.
> #
> #
> # slurm.conf file generated by configurator.html.
> #
> # See the slurm.conf man page for more information.
> #
> ClusterName=testcluster
> ControlMachine=testmaster
> ControlAddr=192.168.122.161
> #BackupController=
> #BackupAddr=
> #
> SlurmUser=root
> SlurmdUser=root
> SlurmctldPort=6817
> SlurmdPort=6818
> AuthType=auth/munge
> #JobCredentialPrivateKey=
> #JobCredentialPublicCertificate=
> StateSaveLocation=/tmp
> SlurmdSpoolDir=/tmp/slurmd
> SwitchType=switch/none
> MpiDefault=none
> SlurmctldPidFile=/var/run/slurmctld.pid
> SlurmdPidFile=/var/run/slurmd.pid
> ProctrackType=proctrack/pgid
> #PluginDir=
> CacheGroups=0
> #FirstJobId=
> ReturnToService=1
> #MaxJobCount=
> #PlugStackConfig=
> #PropagatePrioProcess=
> #PropagateResourceLimits=
> #PropagateResourceLimitsExcept=
> #Prolog=
> #Epilog=
> #SrunProlog=
> #SrunEpilog=
> #TaskProlog=
> #TaskEpilog=
> TaskPlugin=task/none
> #TrackWCKey=no
> #TreeWidth=50
> #TmpFS=
> #UsePAM=
> #
> # TIMERS
> SlurmctldTimeout=300
> SlurmdTimeout=300
> InactiveLimit=0
> MinJobAge=300
> KillWait=30
> Waittime=0
> #
> # SCHEDULING
> SchedulerType=sched/backfill
> #SchedulerAuth=
> SchedulerPort=7321
> #SchedulerRootFilter=
> SelectType=select/cons_res
> #DefMemPerCPU=100
> FastSchedule=1
> #PriorityType=priority/multifactor
> #PriorityDecayHalfLife=14-0
> #PriorityUsageResetPeriod=14-0
> #PriorityWeightFairshare=100000
> #PriorityWeightAge=1000
> #PriorityWeightPartition=10000
> #PriorityWeightJobSize=1000
> #PriorityMaxAge=1-0
> #
> # LOGGING
> SlurmctldDebug=7
> SlurmctldLogFile=/var/log/slurmctld.log
> SlurmdDebug=7
> SlurmdLogFile=/var/log/slurmd.log
> JobCompType=jobcomp/mysql
> JobCompLoc=slurm_acct_db
> JobCompHost=testmaster
> #
> # ACCOUNTING
> #JobAcctGatherType=jobacct_gather/linux
> #JobAcctGatherFrequency=30
> #
> AccountingStorageType=accounting_storage/mysql
> AccountingStorageHost=testmaster
> #AccountingStorageLoc=
> AccountingStorageEnforce=associations
> #AccountingStoragePass=
> #AccountingStorageUser=
> #
> # COMPUTE NODES
> NodeName=testmaster,testclient CPUs=2 State=UNKNOWN
> PartitionName=debug Nodes=testmaster,testclient Default=YES MaxTime=INFINITE 
> State=UP

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email [email protected]

Reply via email to