2025.x from source w/ Pelegant
2025.x from source w/ Pelegant
I've noticed the source for SDDS and elegant recently moved to github. Along with that are some very simple build instructions that indeed work nicely. I was wondering if it would be possible to provide some similarly simple build instructions or guidance for building Pelegant from source. I've been building it from source for some time now, but it looks to me like a few things have been moved around and I had trouble trying to modify what I was previously doing to fit this.
Re: 2025.x from source w/ Pelegant
I can probably add that, but it is basically four lines:
git clone https://github.com/rtsoliday/SDDS.git
git clone https://github.com/rtsoliday/elegant.git
cd elegant
make -j
This will build SDDS and elegant. It will also build Pelegant if it finds the mpicc. See the Makefile.rules in both repositories to edit the locations it checks for mpicc and mpic++
I think you might also be able to skip editing the Makefile.rules if you run:
make -j MPICC=/custom/location/mpicc MPICCC=/custom/location/mpic++
git clone https://github.com/rtsoliday/SDDS.git
git clone https://github.com/rtsoliday/elegant.git
cd elegant
make -j
This will build SDDS and elegant. It will also build Pelegant if it finds the mpicc. See the Makefile.rules in both repositories to edit the locations it checks for mpicc and mpic++
I think you might also be able to skip editing the Makefile.rules if you run:
make -j MPICC=/custom/location/mpicc MPICCC=/custom/location/mpic++
Re: 2025.x from source w/ Pelegant
Thanks, the following worked for me (added missing _). We do use a non-standard location for different mpi versions.
make -j MPI_CC=`which mpicc` MPI_CCC=`which mpic++`
Thanks again for your help.
make -j MPI_CC=`which mpicc` MPI_CCC=`which mpic++`
Thanks again for your help.