[Mesa-users] Using MESASDK w/o X11 package
Gururaj Wagle
guru.w84 at gmail.com
Wed Feb 14 09:08:47 EST 2018
Hi Rich,
Thank you for the suggestion. It is a better option.
Guru
> On 14-Feb-2018, at 7:33 PM, RICHARD H D TOWNSEND <townsend at astro.wisc.edu> wrote:
>
> Hi Gururaj —
>
> Rather than directly editing $MESASDK_ROOT/bin/mesasdk_preq_check.sh, you can simply do the following:
>
> touch $MESASDK_ROOT/etc/check_preq.done
>
> cheers,
>
> Rich
>
>> On Feb 14, 2018, at 7:51 AM, Gururaj Wagle via Mesa-users <mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org>> wrote:
>>
>> Dear Rob,
>>
>> Many thanks for your prompt reply. With the edits that you suggested, I have now successfully installed MESA on the system. I ran a test model, and it seems to be working fine.
>>
>> In addition to editing the makefile_header, I also commented out lines 2388 through 2461 from the file $MESASDK_ROOT/bin/mesasdk_preq_check.sh. It might not be important for installation, but it stops the mesasdk_intit.sh file from complaining, when I source it.
>>
>> Unfortunately, the admin of the system did not seem keen about installing X11 libraries on the system. So I have to do without the plots. It might not be too terrible for my scientific goals. I am using MESA to evolve preSN progenitors.
>>
>> Regards,
>> Guru
>>
>>> On 14-Feb-2018, at 5:19 PM, Rob Farmer <r.j.farmer at uva.nl <mailto:r.j.farmer at uva.nl>> wrote:
>>>
>>> Hi
>>> To disable needing X11 libraries you would need to edit $MESA_DIR/utils/makefile_header
>>>
>>> and replace:
>>>
>>> USE_PGSTAR = YES
>>> LOAD_PGPLOT = `mesasdk_pgplot_link` -lz
>>> with:
>>> USE_PGSTAR = NO
>>> LOAD_PGPLOT =
>>>
>>> and also replace
>>> LOAD_HDF5 = `mesasdk_hdf5_link`
>>> with
>>> LOAD_HDF5 = `mesasdk_hdf5_link` -lz
>>>
>>> This will disable your ability to generate pgplots.
>>>
>>> Though if the system does have the X11 libraries, even without X11 forwarding, it can be useful to not disableX11 in mesa builds so that you can still generate pgplots and just save them to disk (without displaying them) then just copy them over from the remote machine to view them.
>>>
>>> Let us know how it goes.
>>> Rob
>>>
>>>
>>> On 14 February 2018 at 12:11, Gururaj Wagle via Mesa-users <mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org>> wrote:
>>> Dear developers,
>>>
>>> I am trying to install MESA (10108) on a remote Intel desktop, which has a GNU/Linux system. The remote machine does not (and will not) have X11 forwarding, it is purely computational machine. To avoid the hassle of having to manually install MESA (which would also require root access for installing ndiff etc)., I was wondering if I could use MESASDK (latest - 20180127), without X11 support, say, for example, commenting out the block from mesasdk_preq_check.sh that verifies the existence of X11 package. What else do I have to take care of, while using MESASDK and while installing MESA (changes in makefile, for example)?
>>>
>>> I already looked through archives for an answer, but in case if it already exists and I missed it, kindly point me to the solution.
>>>
>>> Thank you!
>>>
>>> In case if you need it:
>>> >> cat /proc/version
>>> Linux version 2.6.32-642.el6.x86_64 (mockbuild at x86-033.build.eng.bos.redhat.com <mailto:mockbuild at x86-033.build.eng.bos.redhat.com>) (gcc version
>>> 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) )
>>>
>>> >> ldd --version
>>> ldd (GNU libc) 2.12
>>> Copyright (C) 2010 Free Software Foundation, Inc.
>>> This is free software; see the source for copying conditions. There is NO
>>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>>> Written by Roland McGrath and Ulrich Drepper.
>>>
>>> Best,
>>> Guru
>>>
>>> —
>>> Gururaj Wagle
>>> Research Associate
>>> Tata Institute of Fundamental Research,
>>> Homi Bhabha Center for Science Education,
>>> Mumbai, India
>>> O: (+91) 22 2507 2214
>>> gururaj[at]hbcse.tifr.res.in <http://hbcse.tifr.res.in/>, gururaj.wagle[at]uky.edu <http://uky.edu/>
>>>
>>
>> _______________________________________________
>> mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org>
>> https://lists.mesastar.org/mailman/listinfo/mesa-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20180214/1fcbb405/attachment.html>
More information about the Mesa-users
mailing list