The install script tries to build rockstar using conda-build. This is failing somehow. Fortunately it isn't strictly necessary to use the install script to do this.

Instead, you might try following the instructuctions to build yt with rockstar support here:

http://yt-project.org/docs/dev/installing.html#installing-support-for-the-rockstar-halo-finder

One could also try modifying the install script to not use conda-build for rockstar, as I doubt it's actually necessary.

On Sun, Oct 15, 2017 at 12:58 PM, Prateek Gupta <prateekgidolia@gmail.com> wrote:
Hello everybody,

I am trying to install yt with enabling ROCKSTAR with the attached install_script.sh. I got some OS related error of FIlename is too long:



Building Rockstar
********************************************
        FAILURE REPORT:
********************************************

    config=config)
  File "/home/dumbo/Documents/PhD_Simulation/YT_Halo/yt-conda/lib/python3.6/site-packages/conda_build/build.py", line 1030, in build
    create_env(config.build_prefix, specs, config=config)
  File "/home/dumbo/Documents/PhD_Simulation/YT_Halo/yt-conda/lib/python3.6/site-packages/conda_build/build.py", line 736, in create_env
    os.makedirs(join(prefix, 'conda-meta'))
  File "/home/dumbo/Documents/PhD_Simulation/YT_Halo/yt-conda/lib/python3.6/os.py", line 210, in makedirs
    makedirs(head, mode, exist_ok)
  File "/home/dumbo/Documents/PhD_Simulation/YT_Halo/yt-conda/lib/python3.6/os.py", line 220, in makedirs
    mkdir(name, mode)
OSError: [Errno 36] File name too long: '/home/dumbo/Documents/PhD_Simulation/YT_Halo/yt-conda/conda-bld/rockstar_1508075330148/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p'

********************************************
********************************************
Failure.  Check /home/dumbo/Documents/PhD_Simulation/YT_Halo/yt-conda/yt_install.log.  The last 10 lines are above.

Please provide me some solution so that I can successfully enable ROCKSTAR.  


Thanks

With best regards,
-Prateek

_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org