<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office" xmlns:st1 =
"urn:schemas-microsoft-com:office:smarttags"><HEAD><TITLE></TITLE>
<META content=text/html;charset=Windows-1252 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16766"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 bgColor=#ffffff text=#000000
CanvasTabStop="true" name="Compose message area">
<DIV>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">Dear Alex and all,</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><o:p><FONT
face="Times New Roman"> </FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">The mpi library I build with is gfortran and gcc. I am
sure mpi works well in my machine. </FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><o:p><FONT
face="Times New Roman"> </FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">Another thing I want to know is that we just have one
computer, not a cluster. So do you think it is possible to type “mpirun –np
<st1:chmetcnv TCSC="0" NumberType="1" Negative="False" HasSpace="False"
SourceValue="2" UnitName="”" w:st="on">2 </st1:chmetcnv>./flash<st1:chmetcnv
TCSC="0" NumberType="1" Negative="False" HasSpace="False" SourceValue="3"
UnitName="”" w:st="on">3”</st1:chmetcnv>. </FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><o:p><FONT
face="Times New Roman"> </FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">Now when I type “./flash<st1:chmetcnv TCSC="0"
NumberType="1" Negative="False" HasSpace="False" SourceValue="3" UnitName="”"
w:st="on">3”</st1:chmetcnv>, it tells me “Segmentation fault”.</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">But when I type “mpirun –np <st1:chmetcnv TCSC="0"
NumberType="1" Negative="False" HasSpace="False" SourceValue="1" UnitName="”"
w:st="on">1 </st1:chmetcnv>./flash<st1:chmetcnv TCSC="0" NumberType="1"
Negative="False" HasSpace="False" SourceValue="3" UnitName="”"
w:st="on">3”</st1:chmetcnv> or “mpirun –np <st1:chmetcnv TCSC="0" NumberType="1"
Negative="False" HasSpace="False" SourceValue="2" UnitName="”" w:st="on">2
</st1:chmetcnv>./flash<st1:chmetcnv TCSC="0" NumberType="1" Negative="False"
HasSpace="False" SourceValue="3" UnitName="”" w:st="on">3”</st1:chmetcnv>, it
tells me that:</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><o:p><FONT
face="Times New Roman"> </FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">[walli@node01 object]$ mpirun -np 2
./flash3</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">rank <st1:chmetcnv TCSC="0" NumberType="1"
Negative="False" HasSpace="True" SourceValue="0" UnitName="in" w:st="on">0
in</st1:chmetcnv> job 2<SPAN style="mso-spacerun: yes">
</SPAN>node01_33013<SPAN style="mso-spacerun: yes"> </SPAN>caused
collective abort of all ranks</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman"><SPAN style="mso-spacerun: yes"> </SPAN>exit status
of rank 0: killed by signal 11</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">((node01 is my hostname))</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><o:p><FONT
face="Times New Roman"> </FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><o:p><FONT
face="Times New Roman"> </FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">I don’t know what to do next. Can you help me about
it?</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman"></FONT></SPAN> </P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">Best wishes,</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">Zhang Chao</FONT></SPAN></P></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A
title="mailto:alexander.y.wagner@googlemail.com
CTRL + 单击以下链接"
href="mailto:alexander.y.wagner@googlemail.com">Alexander Wagner</A> </DIV>
<DIV><B>Sent:</B> Monday, June 20, 2011 8:48 AM</DIV>
<DIV><B>To:</B> <A title=flash-users@flash.uchicago.edu
href="mailto:flash-users@flash.uchicago.edu">flash-users@flash.uchicago.edu</A>
</DIV>
<DIV><B>Subject:</B> Re: [FLASH-USERS] The problem "Segmentation
fault"</DIV></DIV></DIV>
<DIV><BR></DIV>I'm just forwarding the exchange i had with Zhang to the list as
I hit the wrong reply button again and left out the list.<BR><BR>Zhang, what mpi
library did you build with? Are you sure mpi works properly on your machine?
<BR><BR>I wonder if this is the same problem i had once on a CentOS cluster with
Intel Xeons and FLASH3.2, where it would segfault before it even reached call
Drivier_initFlash() in Flash.F90. Our sys admin couldn't solve the problem
either, but we had another cluster to work on, so we dropped the issue. That
being said, it really should work, though.<BR><BR>Best
wishes,<BR>Alex<BR><BR><BR>On 19/06/11 10:33 PM, Zhang Chao wrote:
<BLOCKQUOTE cite=mid:BAY155-ds1620F2BB5243E2B68838AEB66F0@phx.gbl type="cite">
<META name=GENERATOR content="MSHTML 8.00.7600.16766">
<DIV>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">Dear Alexander,</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><O:P><FONT
face="Times New Roman"> </FONT></O:P></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">I just want to know whether I can use the flash
code.</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><O:P><FONT
face="Times New Roman"> </FONT></O:P></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">The problem I want to run is the “Sedov”. I just follow
the instructions of the user’s guide. </FONT></SPAN></P>
<P style="TEXT-INDENT: -18pt; MARGIN: 0cm 0cm 0pt 18pt" class=MsoNormal><FONT
face="Times New Roman"><SPAN lang=EN-US><SPAN>1.<SPAN
style="FONT: 7pt 'Times New Roman'"><FONT
size=3> </FONT></SPAN></SPAN></SPAN><SPAN
dir=ltr><SPAN lang=EN-US>“./setup Sedov -auto”<SPAN> </SPAN>I just
change the paths of HDF5 and PnetCDF in the makefile.</SPAN></SPAN></FONT></P>
<P style="TEXT-INDENT: -18pt; MARGIN: 0cm 0cm 0pt 18pt" class=MsoNormal><FONT
face="Times New Roman"><SPAN lang=EN-US><SPAN>2.<SPAN
style="FONT: 7pt 'Times New Roman'"><FONT
size=3> </FONT></SPAN></SPAN></SPAN><SPAN
dir=ltr><SPAN lang=EN-US>“gmake” </SPAN></SPAN></FONT></P>
<P style="TEXT-INDENT: -18pt; MARGIN: 0cm 0cm 0pt 18pt" class=MsoNormal><FONT
face="Times New Roman"><SPAN lang=EN-US><SPAN>3.<SPAN
style="FONT: 7pt 'Times New Roman'"><FONT
size=3> </FONT></SPAN></SPAN></SPAN><SPAN
dir=ltr><SPAN lang=EN-US>“./flash<ST1:CHMETCNV w:st="on" unitname="”"
sourcevalue="3" hasspace="False" negative="False" numbertype="1"
tcsc="0">3”</ST1:CHMETCNV></SPAN></SPAN></FONT></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><O:P><FONT
face="Times New Roman"> </FONT></O:P></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">And then the error came out.</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><O:P><FONT
face="Times New Roman"> </FONT></O:P></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">What machine are you running
on?<SPAN> </SPAN>The machine is a PC. It has two Intel
Xeon E5530 CPU.</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">The system is CentOS 5.5 (linux).</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><O:P><FONT
face="Times New Roman"> </FONT></O:P></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">What version of FLASH?<SPAN> </SPAN>I
tried the version 3.1, 3.2 and 3.3. They all have the same
error.</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><O:P><FONT
face="Times New Roman"> </FONT></O:P></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">How did you compile the code?<SPAN>
</SPAN>I use the gnu. So it has gfortran and gcc. </FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><O:P><FONT
face="Times New Roman"> </FONT></O:P></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">Were any logfiles
generated?<SPAN> </SPAN>I just find the
“Makefile.Logfile” in the object/ directory.</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><O:P><FONT
face="Times New Roman"> </FONT></O:P></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><O:P><FONT
face="Times New Roman"> </FONT></O:P></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">It is new for me to learn the Flash code. So I don’t
know what to do. Can you help me about it?</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><O:P><FONT
face="Times New Roman"> </FONT></O:P></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">Best wishes,</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT
face="Times New Roman">Zhang Chao</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN
lang=EN-US></SPAN> </P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN
lang=EN-US></SPAN> </P></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: rgb(245,245,245)">
<DIV><B>From:</B> <A title=alexander.y.wagner@googlemail.com
href="mailto:alexander.y.wagner@googlemail.com"
moz-do-not-send="true">Alexander Wagner</A> </DIV>
<DIV><B>Sent:</B> Sunday, June 19, 2011 9:04 PM</DIV>
<DIV><B>To:</B> <A title=walli1986@hotmail.com
href="mailto:walli1986@hotmail.com" moz-do-not-send="true">Zhang Chao</A>
</DIV>
<DIV><B>Subject:</B> Re: [FLASH-USERS] The problem "Segmentation
fault"</DIV></DIV></DIV>
<DIV><BR></DIV>
<DIV>Hi Zhang,</DIV>
<DIV><BR></DIV>
<DIV>The developers will need more information than this to help you.</DIV>
<DIV><BR></DIV>
<DIV>What problem are you trying to run? (Have you tried any of the test
problems supplied?)</DIV>
<DIV>What machine are you running on?</DIV>
<DIV>What version of FLASH?</DIV>
<DIV>How did you compile the code?</DIV>
<DIV>Were any logfiles generated?</DIV>
<DIV><BR></DIV>
<DIV>To find out where the code is crashing, you may want to run it in a
debugger.</DIV>
<DIV><BR></DIV>
<DIV>Best wishes,</DIV>
<DIV>Alex</DIV><BR><BR>
<DIV class=gmail_quote>2011/6/19 Zhang Chao <SPAN dir=ltr><<A
href="mailto:walli1986@hotmail.com"
moz-do-not-send="true">walli1986@hotmail.com</A>></SPAN><BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
name="Compose message area">
<DIV><FONT size=2>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT size=3
face="Times New Roman">Dear all, </FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN
lang=EN-US></SPAN> </P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT size=3
face="Times New Roman">Can anyone help me? I met the “Segmentation fault”
when I type “./flash3”.</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN
lang=EN-US></SPAN> </P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT size=3
face="Times New Roman">[walli@localhost object]$ ./flash3<BR>Segmentation
fault</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN
lang=EN-US></SPAN> </P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN
lang=EN-US></SPAN> </P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT size=3
face="Times New Roman">It is really a big problem for me. I want to find a
solution in the internet, but until now, I still cannot solve the
problem.</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN
lang=EN-US></SPAN> </P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT size=3
face="Times New Roman">Best wishes,</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT size=3
face="Times New Roman">Zhang
Chao</FONT></SPAN></P></FONT></DIV></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE><BR></BODY></HTML>