[Mesa-users] installing mesa as a module on a cluster

Warrick Ball W.H.Ball at bham.ac.uk
Fri Jul 14 07:34:50 UTC 2023


Hi Rob,

For context, I presume what you mean is that you want to install MESA as an Environment Module [1], which is what many HPC systems use to allow users to load different versions of installed software with commands like

     $ module load MESA/r23.05.1

I'm not sure how many MESA users have any experience with *installing* MESA as a module but we can try our best to help!

First, what is required to install MESA as a module?  Do you want to do it with the SDK, so that loading the module also sets those environment variables?  Or do you want to do it without the SDK and have modules load the dependencies?

Second, it's not clear what error you've actually encountered.  The segment of the build log you show implies GYRE built fine but the ADIPLS failed to find the makefile, which seems odd.  (Why would ADIPLS try to "build" the makefile header?)  It also isn't clear that this has anything to do with `sudo`.  Can you explain precisely what you've done to try to build MESA, and attach the full `build.log` file that the `./install` scripts creates?

Cheers,
Warrick

[1] https://modules.readthedocs.io/

___________

Warrick Ball
Senior Research Software Engineer
University of Birmingham
W.H.Ball at bham.ac.uk

On Fri, 14 Jul 2023, Rob Kudyba via Mesa-users wrote:

> CAUTION: This email originated from outside the organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe.
> I'd like to install Mesa as a module,.so users can load ad hoc, so multiple users could have access to it at will.
> 
> On Thu, Jul 13, 2023, 9:20 PM Francis Timmes <fxt44 at mac.com> wrote:
>       hi rob,
>
>       i do not understand the relationship between root and making "this" (presumably all of mesa) a module. can you explain in more detail what you are trying to accomplish?
>
>       fxt
> 
> 
> 
>
>       > On Jul 13, 2023, at 1:35 PM, Rob Kudyba via Mesa-users <mesa-users at lists.mesastar.org> wrote:
>       >
>       > I see the warnings to not use root.But I want to make this a module.
>       >
>       > FC ../tester
>       > export
>       > done
>       >
>       > mesa/gyre has been built, tested, and exported.
>       >
>       > ************************************************
>       >
>       > /path/to/me/mesa-r23.05.1/adipls
>       > building adipls package.
>       >
>       > makefile:6: /path/to/mesa/23.05.01/utils/makefile_header: No such file or directory
>       > make: *** No rule to make target '/path/to/mesa/23.05.01/utils/makefile_header'.  Stop.
>       >
>       > /path/to/me/mesa-r23.05.1/adipls/make
>       > FAILED
>       >
>       >
>       > /path/to/me/mesa-r23.05.1/adipls
>       > ./build_and_test FAILED
>       >
>       > Do I just remove the root check in the install script?
>       > _______________________________________________
>       > mesa-users at lists.mesastar.org
>       > https://lists.mesastar.org/mailman/listinfo/mesa-users
>       >
> 
> 
>


More information about the Mesa-users mailing list