[FLASH-BUGS] A setup internal error

Li-Jun Hu hulj at mail.bnu.edu.cn
Tue Nov 1 10:13:13 CDT 2011


Hi Klaus,
Thank you very much!
That problem was solved by following your suggestion and I have a new problem in typing make now? 
The attached file is in /site/node21 

[hulj at node21 object]$ make
rm -f reorder.sh
/opt/pgi/linux86-64/7.1/mpi/mpich/bin/mpif90 -c -O3 -fdefault-real-8 -fdefault-double-8 -ffree-line-length-none  -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2 ut_interpolationInterface.F90
pgf90-Error-Unknown switch: -fdefault-real-8
pgf90-Error-Unknown switch: -fdefault-double-8
pgf90-Error-Unknown switch: -ffree-line-length-none
make: *** [ut_interpolationInterface.o] Error 1
 
Best,
Lijun


> -----原始邮件-----
> 发件人: "Klaus Weide" <klaus at flash.uchicago.edu>
> 发送时间: 2011年11月1日 星期二
> 收件人: "Li-Jun Hu" <hulj at mail.bnu.edu.cn>
> 抄送: flash-bugs at flash.uchicago.edu
> 主题: Re: [FLASH-BUGS] A setup internal error
> 
> On Tue, 1 Nov 2011, Li-Jun Hu wrote:
> 
> > Hi! 
> > I have an error when typing ./setup Sedov -auto 
> > Do you know how to resolve this problem?
> > Best,
> > Lijun
> > 
> > A setup internal error has occured, if possible please email the following
> > debugging info to flash-bugs at flash.uchicago.edu
> > Arguments: ['/disk2/hulj/flash/bin/setup.py', 'Sedov', '-auto']
> > Python Version: 2.3.4
> > Platform Details: linux2
> > Traceback (most recent call last):
> >   File "/disk2/hulj/flash/bin/setup.py", line 238, in ?
> >     main()
> >   File "/disk2/hulj/flash/bin/setup.py", line 133, in main
> >     linkList.reallyLink()
> >   File "/disk2/hulj/flash/bin/linkFiles.py", line 212, in reallyLink
> >     if not os.path.exists(link) and  os.path.lexists(link) and  os.path.islink(link):
> > AttributeError: 'module' object has no attribute 'lexists'
> 
> This problem may occur when older versions of python are used to run 
> ./setup.
> 
> Two ways to work around this:
> (1) Use a more up to date version of python.
> 
> (2) Change line 212 in bin/linkFiles.py to
> 
>              if not os.path.exists(link) and  os.path.islink(link) and os.path.lexists(link):
> 
> i.e., change the order of the 2nd and 3rd test on that line.
> 
> 
> Klaus



--
College of Nuclear Science and Technology,
Beijing Normal University

No. 19, XinJieKouWai St., HaiDian District, 
Beijing 100875, China
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile.h
Url: http://flash.uchicago.edu/pipermail/flash-bugs/attachments/20111101/053fc0f5/attachment.h 


More information about the flash-bugs mailing list