I am getting this error after Forthon install and make in the kdtree
dir:
login4% make Forthon -F gfortran --compile_first fKD_source --no2underscores --with- numpy --fopt "-O3" fKD fKD_source.f90 IN FORTHON_BUILDER Traceback (most recent call last): File "/work/01059/tg803229/raft-0.1a/local/bin/Forthon", line 2, in
<module> import Forthon.Forthon_builder File "/work/01059/tg803229/raft-0.1a/local/lib/python2.6/site- packages/Forthon/Forthon_builder.py", line 142, in <module> twounderscores=twounderscores) File "/work/01059/tg803229/raft-0.1a/local/lib/python2.6/site- packages/Forthon/compilers.py", line 66, in __init__ if self.linux_pathscale() is not None: break File "/work/01059/tg803229/raft-0.1a/local/lib/python2.6/site- packages/Forthon/compilers.py", line 352, in linux_pathscale if usecompiler('pathscale','pathf95'): NameError: global name 'usecompiler' is not defined make: *** [fKD] Error 1
Any ideas would help. Thanks!
Eric Hallman Google Voice: (774) 469-0278 hallman13@gmail.com
Hi Eric,
"/work/01059/tg803229/raft-0.1a/local/lib/python2.6/site-packages/Forthon/compilers.py", line 352, in linux_pathscale if usecompiler('pathscale','pathf95'): NameError: global name 'usecompiler' is not defined make: *** [fKD] Error 1
A few questions: Are you doing this on Ranger? Which set of compilers did you have loaded? Is this yt-1.6, trunk or the development branch?
I'll see if I can replicate this, or see what could be going on, depending on your answers. I think I have seen this kind of stuff before, and it might take a small change to a Forthon file, but I don't remember exactly.
sskory@physics.ucsd.edu o__ Stephen Skory http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student ________________________________(_)_\(_)_______________
this is on ranger with intel compilers. It's the mercurial yt dev
branch. Here's the module list for my setup:
Currently Loaded Modules: 1) TACC-paths 10) tgresid/2.0.3 19) gzip/1.3.12 2) Linux 11) tgusage/3.0 20) tar/1.22 3) cluster-paths 12) uberftp/2.4 21) cluster 4) binutils-amd/070220 13) tginfo/1.0.1 22) TACC 5) TERAGRID-paths 14) TERAGRID-BASIC 23) intel/10.1 6) gx-map/0.5.3.3 15) globus/4.0.8 24) mvapich-devel/1.0 7) srb-client/3.4.1 16) GLOBUS-4.0 25) acml/4.1.0 8) tg-policy/0.2 17) TERAGRID-DEV 26) subversion/1.6.1 9) tgproxy/0.9.1 18) CTSSV4 27) hdf5/1.6.5
On Apr 25, 2010, at 6:46 PM, Stephen Skory wrote:
Hi Eric,
"/work/01059/tg803229/raft-0.1a/local/lib/python2.6/site-packages/ Forthon/compilers.py", line 352, in linux_pathscale if usecompiler('pathscale','pathf95'): NameError: global name 'usecompiler' is not defined make: *** [fKD] Error 1
A few questions: Are you doing this on Ranger? Which set of
compilers did you have loaded? Is this yt-1.6, trunk or the
development branch?
I'll see if I can replicate this, or see what could be going on,
depending on your answers. I think I have seen this kind of stuff
before, and it might take a small change to a Forthon file, but I
don't remember exactly.
sskory@physics.ucsd.edu o__ Stephen Skory http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student ________________________________(_)_\(_)_______________
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Dr. Eric J. Hallman NSF Astronomy and Astrophysics Postdoctoral Fellow Center for Astrophysics and Space Astronomy University of Colorado at Boulder hallman (at) casa.colorado.edu Phone: (312) 725-4626 http://solo.colorado.edu/~hallman/
Hi Eric,
Can you try it with the GNU module loaded? It looks like the compiler availability is confusing the Forthon script.
http://yt.enzotools.org/doc/installation.html#ranger-tacc
-Matt
On Sun, Apr 25, 2010 at 3:52 PM, Eric Hallman hallman13@gmail.com wrote:
this is on ranger with intel compilers. It's the mercurial yt dev branch. Here's the module list for my setup: Currently Loaded Modules: 1) TACC-paths 10) tgresid/2.0.3 19) gzip/1.3.12 2) Linux 11) tgusage/3.0 20) tar/1.22 3) cluster-paths 12) uberftp/2.4 21) cluster 4) binutils-amd/070220 13) tginfo/1.0.1 22) TACC 5) TERAGRID-paths 14) TERAGRID-BASIC 23) intel/10.1 6) gx-map/0.5.3.3 15) globus/4.0.8 24) mvapich-devel/1.0 7) srb-client/3.4.1 16) GLOBUS-4.0 25) acml/4.1.0 8) tg-policy/0.2 17) TERAGRID-DEV 26) subversion/1.6.1 9) tgproxy/0.9.1 18) CTSSV4 27) hdf5/1.6.5
On Apr 25, 2010, at 6:46 PM, Stephen Skory wrote:
Hi Eric,
"/work/01059/tg803229/raft-0.1a/local/lib/python2.6/site-packages/Forthon/compilers.py",
line 352, in linux_pathscale
if
usecompiler('pathscale','pathf95'):
NameError: global name 'usecompiler' is
not defined
make: *** [fKD] Error 1
A few questions: Are you doing this on Ranger? Which set of compilers did you have loaded? Is this yt-1.6, trunk or the development branch?
I'll see if I can replicate this, or see what could be going on, depending on your answers. I think I have seen this kind of stuff before, and it might take a small change to a Forthon file, but I don't remember exactly.
sskory@physics.ucsd.edu o__ Stephen Skory http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student ________________________________(_)_\(_)_______________
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Dr. Eric J. Hallman NSF Astronomy and Astrophysics Postdoctoral Fellow Center for Astrophysics and Space Astronomy University of Colorado at Boulder hallman (at) casa.colorado.edu Phone: (312) 725-4626 http://solo.colorado.edu/~hallman/
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Matt and Stephen,
this appears to work with gcc. I had intel loaded for compiling
enzo. Thanks.
On Apr 25, 2010, at 8:00 PM, Matthew Turk wrote:
Hi Eric,
Can you try it with the GNU module loaded? It looks like the compiler availability is confusing the Forthon script.
http://yt.enzotools.org/doc/installation.html#ranger-tacc
-Matt
On Sun, Apr 25, 2010 at 3:52 PM, Eric Hallman hallman13@gmail.com
wrote:
this is on ranger with intel compilers. It's the
mercurial yt dev
branch.
Here's the module list for my setup:
Currently Loaded Modules:
1) TACC-paths 10) tgresid/2.0.3 19) gzip/1.3.12
2) Linux 11) tgusage/3.0 20) tar/1.22
3) cluster-paths 12) uberftp/2.4 21) cluster
4) binutils-amd/070220 13) tginfo/1.0.1 22) TACC
5) TERAGRID-paths 14) TERAGRID-BASIC 23) intel/10.1
6) gx-map/0.5.3.3 15) globus/4.0.8 24) mvapich-devel/1.0
7) srb-client/3.4.1 16) GLOBUS-4.0 25) acml/4.1.0
8) tg-policy/0.2 17) TERAGRID-DEV 26) subversion/1.6.1
9) tgproxy/0.9.1 18) CTSSV4 27) hdf5/1.6.5
On Apr 25, 2010, at 6:46 PM, Stephen Skory wrote:
Hi Eric,
"/work/01059/tg803229/raft-0.1a/local/lib/python2.6/site-packages/ Forthon/compilers.py",
line 352, in linux_pathscale
if
usecompiler('pathscale','pathf95'):
NameError: global name 'usecompiler' is
not defined
make: *** [fKD] Error 1
A few questions: Are you doing this on Ranger? Which set of
compilers did
you have loaded? Is this yt-1.6, trunk or the development branch?
I'll see if I can replicate this, or see what could be going on,
depending
on your answers. I think I have seen this kind of stuff before, and
it might
take a small change to a Forthon file, but I don't remember exactly.
sskory@physics.ucsd.edu o__ Stephen Skory http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student ________________________________(_)_\(_)_______________
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Dr. Eric J. Hallman NSF Astronomy and Astrophysics Postdoctoral Fellow Center for Astrophysics and Space Astronomy University of Colorado at Boulder hallman (at) casa.colorado.edu Phone: (312) 725-4626 http://solo.colorado.edu/~hallman/
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Dr. Eric J. Hallman NSF Astronomy and Astrophysics Postdoctoral Fellow Center for Astrophysics and Space Astronomy University of Colorado at Boulder hallman (at) casa.colorado.edu Phone: (312) 725-4626 http://solo.colorado.edu/~hallman/