[yt-users] Csh environment setting bug
Alice Coucke
acoucke at amnh.org
Fri Mar 23 14:41:48 PDT 2012
Hello everyone,
It looks like there is a bug with the csh environment setting. I am a Unix beginner so I might have done an error.
I had to make these modifications to the install script to set up yt in a csh shell OSX Lion machine :
* Disable the install of zlib. The HDF5 build failed because of some sort of version confusion.
* Force the use of gcc over the newer clang compiler by setting :
export CC=gcc
at the top of the install script. Matplotlib-1.1.0 fails to compile with the default Lion cc which is clang based.
Once installed, I had difficulties to run it. I tried to follow the Extremely Simple Data Inspection.
$ yt stats $YT_DEST/src/yt-hg/tests/DD0010/moving7_0010
BUT that is what happens :
yt : [ERROR ] 2012-03-23 11:17:08,651 Couldn't figure out output type for /Users/acoucke/yt-i386:/src/yt-hg/tests/DD0010/moving7_0010
Traceback (most recent call last):
File "/Users/acoucke/yt-i386/bin/yt", line 9, in <module>
load_entry_point('yt==2.3', 'console_scripts', 'yt')()
File "/Users/acoucke/yt-i386/src/yt-hg/yt/utilities/command_line.py", line 1610, in run_main
sys.exit(YT.main())
File "/Users/acoucke/yt-i386/src/yt-hg/yt/utilities/cmdln.py", line 257, in main
return self.cmd(args)
File "/Users/acoucke/yt-i386/src/yt-hg/yt/utilities/cmdln.py", line 280, in cmd
retval = self.onecmd(argv)
File "/Users/acoucke/yt-i386/src/yt-hg/yt/utilities/cmdln.py", line 412, in onecmd
return self._dispatch_cmd(handler, argv)
File "/Users/acoucke/yt-i386/src/yt-hg/yt/utilities/cmdln.py", line 1100, in _dispatch_cmd
return handler(argv[0], opts, *args)
File "/Users/acoucke/yt-i386/src/yt-hg/yt/utilities/command_line.py", line 256, in arg_iterate
func(self, subcmd, opts, arg)
File "/Users/acoucke/yt-i386/src/yt-hg/yt/utilities/command_line.py", line 627, in do_stats
pf = _fix_pf(arg)
File "/Users/acoucke/yt-i386/src/yt-hg/yt/utilities/command_line.py", line 44, in _fix_pf
raise IOError
IOError
Then if I type :
$ echo $YT_DEST
/Users/acoucke/yt-i386:
It seems that there is an unexpected colon here because :
$ ls /Users/acoucke/yt-i386:
ls: /Users/acoucke/yt-i386:: No such file or directory
I have to use :
setenv YT_DEST /Users/acoucke/yt-i386
to make that works.
Best,
Alice Coucke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20120323/25018f62/attachment.htm>
More information about the yt-users
mailing list