[mesa-users] MESA file Read/Write

Ehsan Moravveji e.moravveji at gmail.com
Fri Nov 15 10:18:10 EST 2013


Dear Frank and Aaron,
Thanks for your consideration of this issue. 
For sure, the OS on the login node and compute node of the supercomputer is 64 bit.
To know the hardware specifications of the compute nodes, I submitted a script (uname.sh attached) and received the outcome (uname.out, also attached).

As a test, I submit 8 jobs on one node with 8 cores, and I observe weird behavior. Sometimes, 2 out of 8 succeed, sometimes 3, sometimes 6 sometimes none.
I played around with the memory specification a bit, and it seems it might have influence, but did not solve the problem. My primary guess is that:
Once I launch multiple instances of the same executable, all of the instances want to allocate memory to load data from the cache, and apparently they fail. 
I have to stress that the same working directory executes perfectly on my laptop and a small cluster that we have in-house. 

I thought of myself that putting a line in my run_star_extras to pause each instance for some random seconds, say between 1 to 10 can inhibit simultaneous attach of all instances to fetch resources and might be a workaround. What do you guys think?

Best regards,

Ehsan.




On Nov 14, 2013, at 9:07 PM, Francis Timmes wrote:

> hi ehsan,
> 
> given what is not described there are many possibilities why its
> not running. for example, it may matter whether you are running
> interactively on the head node(s) or on the compute nodes via
> a job submission script. it may matter whether you are running
> all the jobs out of one directory or multiple directories. it may matter 
> what the directory permissions are relative to how its being run. 
> it may matter how much memory per node is available on your cluster
> and how many threads you are requesting. you’ll need to answer some 
> of these user run time and system environment questions and be 
> willing to experiment.
> 
> fxt
> 
> 
> 
> On Nov 14, 2013, at 12:07 PM, Bill Paxton <paxton at kitp.ucsb.edu> wrote:
> 
>> Hi Mesa-users,
>> 	I'm really buried at the moment and would appreciate it if someone could help Ehsan on this.
>> Thanks,
>> Bill
>> 
>> p.s. we don't lock files during read.
>> 
>> 
>> 
>> Begin forwarded message:
>> 
>>> From: Ehsan Moravveji <ehsan.moravveji at ster.kuleuven.be>
>>> Date: November 14, 2013 8:13:05 AM PST
>>> To: Bill Paxton <paxton at kitp.ucsb.edu>
>>> Cc: "ICTS at KULEUVEN.BE>" <ICTS at KULEUVEN.BE>
>>> Subject: MESA file Read/Write
>>> 
>>> Dear Bill,
>>> i am putting the Supercomputer helpdesk of KU Leuven in CC, so that you may help us understand the reason for this error:
>>> create pre-main-sequence model
>>> Load1_eosDT_Table ierr        5014           5           1  0.80000000000000004        0.0000000000000000     
>>> failed in build1_pre_ms_model
>>> failed in build_pre_ms_model
>>> star_create_pre_ms_model ierr        5014
>>> do_load1_star ierr        5014
>>> 
>>> I have to mention that I have (1) pre-loaded my cache directory in the mesa root directory (with the same files from my laptop), and (2) have copied the cache files into /scratch disk, and ask mesa to read from caches. I use the attached inlist
>> <inlist_data_cache>
>>> In both cases, the error persists.
>>> What the helpdesk thinks is:
>>>> 
>>>> Under normal circumstances, a file can be read by (almost) any number of processes simultaniously, unless the processes choose to lock the file during read (which should be documented, since this is not standard practice).
>>>> Judging from the current error messages, the problem seems might be with a write, rather than a read operation. The developer however should be able to give you more information on that.
>>>> 
>>>> 
>>> Can you please comment if the cached tables are "locked" during the read/write? And if that would be the cause of the error?
>>> Is there a solution for this?
>>> 
>>> I have to mention that I can safely run one instance of MESA, but when trying to run multiple instances, I get this error.
>>> 
>>> Thanks a lot.
>>> Ehsan.
>>> 
>>> 
>> 
>> ------------------------------------------------------------------------------
>> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
>> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
>> Free app hosting. Or install the open source package on any LAMP server.
>> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
>> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk_______________________________________________
>> mesa-users mailing list
>> mesa-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mesa-users
> 
> 
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20131115/eeb8379a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uname.out
Type: application/octet-stream
Size: 91836 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20131115/eeb8379a/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20131115/eeb8379a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uname.sh
Type: application/octet-stream
Size: 390 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20131115/eeb8379a/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20131115/eeb8379a/attachment-0002.html>


More information about the Mesa-users mailing list