I was trying to reinstall dev YT and enabling parallel HOP, but ran into the trouble that at the end of installing Forthon, I got the error pasted at the end, has anyone seen this? I tried using
sudo python setup.py install but it gave me the same errors, so subsequently my kdtree make fails.
From G.S. Permissions on Notice and Src files needs to be set by hand running install running build running build_py creating build creating build/lib creating build/lib/Forthon copying Lib/__init__.py -> build/lib/Forthon copying Lib/_Forthon.py -> build/lib/Forthon copying Lib/cfinterface.py -> build/lib/Forthon copying Lib/compilers.py -> build/lib/Forthon copying Lib/Forthon_builder.py -> build/lib/Forthon copying Lib/Forthon_options.py -> build/lib/Forthon copying Lib/ForthonTimer.py -> build/lib/Forthon copying Lib/fvars.py -> build/lib/Forthon copying Lib/interfaceparser.py -> build/lib/Forthon copying Lib/preprocess.py -> build/lib/Forthon copying Lib/wrappergen_derivedtypes.py -> build/lib/Forthon copying Lib/wrappergenerator.py -> build/lib/Forthon running build_scripts creating build/scripts-2.7 copying and adjusting Forthon -> build/scripts-2.7 changing mode of build/scripts-2.7/Forthon from 644 to 755 running install_lib running install_scripts copying build/scripts-2.7/Forthon -> /Users/gso/Documents/el-yt/bin changing mode of /Users/gso/Documents/el-yt/bin/Forthon to 755 running install_data error: can't copy 'Notice': doesn't exist or not a regular file
Hi Geoffrey,
error: can't copy 'Notice': doesn't exist or not a regular file
As best as I can tell, it's telling you that it (the forthon install process) can't copy the file because it's not where it thinks it should be. You could try the older version: http://hifweb.lbl.gov/Forthon/Forthon-0.8.7.tgz also, are you sure you want to be installing using "sudo"? Did you install your yt stack using sudo? -- Stephen Skory s@skory.us http://stephenskory.com/ 510.621.3687 (google voice)
Hi Geoffrey,
If you look at the difference between the two versions (0.8.7 and 0.8.8),
the Notice file has been
replaced with License.txt, but the build failed to reflect it. Simply
rename the License.txt file and you
should be good to go.
Douglas Rudd
On Mon, May 14, 2012 at 10:07 PM, Stephen Skory wrote:
Hi Geoffrey,
error: can't copy 'Notice': doesn't exist or not a regular file
As best as I can tell, it's telling you that it (the forthon install process) can't copy the file because it's not where it thinks it should be. You could try the older version:
http://hifweb.lbl.gov/Forthon/Forthon-0.8.7.tgz
also, are you sure you want to be installing using "sudo"? Did you install your yt stack using sudo?
-- Stephen Skory s@skory.us http://stephenskory.com/ 510.621.3687 (google voice) _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
Both Stephen's suggestion of using older 0.8.7 and Douglas's renaming
"License.txt" to "Notice" fixed the problem, but I'm getting the following
when doing >make inside the kdtree folder
Using Forthon ()
Forthon -F gfortran --compile_first fKD_source --no2underscores
--with-numpy --fopt "-O3" fKD fKD_source.f90
Usage: Forthon [options] pkgname [extra Fortran or C files to be compiled
or objects to link] [options for distutils]
Forthon: error: no such option: --with-numpy
make: *** [fKD] Error 2
Going to double check if I have all the compilers consistent when I build
yt tomorrow morning.
Using my old installation of YT's python worked when I did >make in the
kdtree folder, but not with the new python, both are 2.7.2.
From
G.S.
On Mon, May 14, 2012 at 8:10 PM, Douglas Rudd
Hi Geoffrey,
If you look at the difference between the two versions (0.8.7 and 0.8.8), the Notice file has been replaced with License.txt, but the build failed to reflect it. Simply rename the License.txt file and you should be good to go.
Douglas Rudd
On Mon, May 14, 2012 at 10:07 PM, Stephen Skory
wrote:Hi Geoffrey,
error: can't copy 'Notice': doesn't exist or not a regular file
As best as I can tell, it's telling you that it (the forthon install process) can't copy the file because it's not where it thinks it should be. You could try the older version:
http://hifweb.lbl.gov/Forthon/Forthon-0.8.7.tgz
also, are you sure you want to be installing using "sudo"? Did you install your yt stack using sudo?
-- Stephen Skory s@skory.us http://stephenskory.com/ 510.621.3687 (google voice) _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
_______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
John ZuHone
Laboratory for High-Energy Astrophysics
NASA/Goddard Space Flight Center
8800 Greenbelt Rd., Code 662
Greenbelt, MD 20771
(w) 301-286-2531
(m) 773-758-0172
jzuhone@gmail.com
john.zuhone@nasa.gov
On May 15, 2012, at 5:12 AM, Geoffrey So
Both Stephen's suggestion of using older 0.8.7 and Douglas's renaming "License.txt" to "Notice" fixed the problem, but I'm getting the following when doing >make inside the kdtree folder
Using Forthon () Forthon -F gfortran --compile_first fKD_source --no2underscores --with-numpy --fopt "-O3" fKD fKD_source.f90 Usage: Forthon [options] pkgname [extra Fortran or C files to be compiled or objects to link] [options for distutils]
Forthon: error: no such option: --with-numpy make: *** [fKD] Error 2
Going to double check if I have all the compilers consistent when I build yt tomorrow morning. Using my old installation of YT's python worked when I did >make in the kdtree folder, but not with the new python, both are 2.7.2.
From G.S.
On Mon, May 14, 2012 at 8:10 PM, Douglas Rudd
wrote: Hi Geoffrey, If you look at the difference between the two versions (0.8.7 and 0.8.8), the Notice file has been replaced with License.txt, but the build failed to reflect it. Simply rename the License.txt file and you should be good to go.
Douglas Rudd
On Mon, May 14, 2012 at 10:07 PM, Stephen Skory
wrote: Hi Geoffrey,error: can't copy 'Notice': doesn't exist or not a regular file
As best as I can tell, it's telling you that it (the forthon install process) can't copy the file because it's not where it thinks it should be. You could try the older version:
http://hifweb.lbl.gov/Forthon/Forthon-0.8.7.tgz
also, are you sure you want to be installing using "sudo"? Did you install your yt stack using sudo?
-- Stephen Skory s@skory.us http://stephenskory.com/ 510.621.3687 (google voice) _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
_______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
_______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
Hi Geoffrey,
Forthon: error: no such option: --with-numpy make: *** [fKD] Error 2
It looks to me like Forthon has removed the "--with-numpy" option (it appears that this is an old option when the numpy predecessor numeric was supported in Forthon). In that same directory where the "make" failed, could you edit the "Makefile" and remove the "--with-numpy" statement, and let us know the result? Thanks! -- Stephen Skory s@skory.us http://stephenskory.com/ 510.621.3687 (google voice)
... and try "make" again, if that wasn't clear :) -- Stephen Skory s@skory.us http://stephenskory.com/ 510.621.3687 (google voice)
Removing the two instances of "--wtih-numpy" in Makefile worked with
Forthon-0.8.8
And using the old Forthon-0.8.7 also worked, tried both ways.
Thanks guys!
From
G.S.
On Tue, May 15, 2012 at 7:13 AM, Stephen Skory wrote:
... and try "make" again, if that wasn't clear :)
-- Stephen Skory s@skory.us http://stephenskory.com/ 510.621.3687 (google voice) _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
participants (4)
-
Douglas Rudd
-
Geoffrey So
-
John ZuHone
-
Stephen Skory