[yt-users] parallel computation

Yuxiang Qin yuxiangq at student.unimelb.edu.au
Fri Jan 16 22:56:05 PST 2015


Hi Guys,

Thanks for all of you. The problem is I was running out of the whole memory of our service. I tried my script on a service which has a very large memory, then it’s all good. I really appreciate your help.

Cheers,
-- 
Yuxiang Qin
PhD Student
School of Physics
The University of Melbourne
VIC, Australia, 3010

> On 15 Jan 2015, at 14:11, Yuxiang Qin <yuxiangq at student.unimelb.edu.au> wrote:
> 
> Hi Nathan,
> 
> Thanks for your reply. I just got an email from a consultant of the service where I run my script. He tells me I used much more memory than what the node s have. So I need to run my script on a node which has larger memory. I would try this later. If it still doesn’t work, I would share my data to you and please help me check it. Thanks a lot for your kindest help.
> 
> Cheers,
> Yuxiang
> 
>> On 14 Jan 2015, at 19:46, Nathan Goldbaum <nathan12343 at gmail.com <mailto:nathan12343 at gmail.com>> wrote:
>> 
>> 
>> 
>> On Tue, Jan 13, 2015 at 4:29 PM, Yuxiang Qin <yuxiangq at student.unimelb.edu.au <mailto:yuxiangq at student.unimelb.edu.au>> wrote:
>> Dear YT-Users,
>> 
>> I am a fresh man to YT-project. I got a few questions for parallel computation on yt. May I ask for help?
>> 
>> of course, that's what the mailing list is for :)
>>  
>> 
>> I tried to do mpirun -np 4 myscript.py , but it always failed even when I used very simple script like
>> 
>> In what way does it fail?  If there is an error, can you send a copy/paste of the full error?  We have paste.yt-project.org <http://paste.yt-project.org/> set up to share error and code snippets like this.
>>  
>> #!/usr/bin/env python                                            
>> import yt                                                        
>>                                                                  
>> yt.enable_parallelism()                                          
>>                                                                  
>> fname=('../../Smaug/NOZCOOL_LateRe_L010N0512/data/snapshot_103/snap_103.0.hdf5')                                                  
>> ds = yt.load(fname)                                              
>> pz = yt.ProjectionPlot(ds, 'z', ('gas', 'temperature'),weight_field='density')                                                    
>> pz.save()                                                        
>> 
>> I am using the data from Dr. Alan Duffy. His data is similar to OWLS. So when I tried to run a similar script with sample data downloaded from yt website, it works. Does anyone know what’s going on here? Is anything wrong with my data format or script? How to check it?
>> 
>> If you feel comfortable sharing the data file, one of us could try loading your data file on our local machine. If you don't feel comfortable sharing the data file publicly, I'm happy to work with you off-list to get a copy of the data file.
>> 
>> Best,
>> 
>> Nathan
>>  
>> 
>> Warmest sincerely,
>> 
>> --
>> Yuxiang Qin
>> PhD Student
>> School of Physics
>> The University of Melbourne
>> VIC, Australia, 3010
>> 
>> 
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org <mailto:yt-users at lists.spacepope.org>
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>
>> 
>> 
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org <mailto:yt-users at lists.spacepope.org>
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> 
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150117/b6e6b076/attachment.html>


More information about the yt-users mailing list