Hi Chris,

        Those values are already set and ready for use.  Again, running the 
java application alone works well without any issues but adding srun on it 
causes the "Shared memory" error.

Thanks,
-----Original Message-----
From: Christopher Samuel [mailto:[email protected]] 
Sent: Monday, December 22, 2014 10:29 PM
To: slurm-dev
Subject: [slurm-dev] Re: Running java application with HugePages on Slurm


On 23/12/14 07:55, Jerome Macaranas wrote:

> Hi ALL,

Hi Jerome,

>   I have java application that uses HugePages which works perfectly 
> fine if you run it manually but if I include slurm in the mix for some 
> reason im getting an error of “Java HotSpot(TM) 64-Bit Server VM warning:
> Failed to reserve shared memory (errno = 12).”
>
>   Anyone has an idea why this happened?  Or anyone has experience this 
> issue?

A quick google implies that it can be related to restrictions on the amount of 
memory a process can be allowed to mlock():

http://www.mohancheema.net/appserver/java-hotspottm-64-bit-server-vm-warning-failed-to-reserve-shared-memory-errno-12

This can also affect Open-MPI over IB too:

http://www.open-mpi.org/faq/?category=openfabrics#ib-locked-pages-user

Best of luck,
Chris
-- 
 Christopher Samuel        Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: [email protected] Phone: +61 (0)3 903 55545
 http://www.vlsci.org.au/      http://twitter.com/vlsci
-------------------------------------------------------------------------
This email and any attachments may contain confidential and/or privileged 
information. If you are not the intended recipient (or have received this 
communication in error), please delete this email and notify the sender 
at Nine Chapters Capital Management, LLC immediately. Any unauthorized 
copying, disclosure or distribution of the material in this email is 
strictly prohibited.

Reply via email to