Page 2 of 2

Re: testing Pelegant on elegantExamples

Posted: 20 Oct 2015, 22:13
by soliday
I see there is a problem on Debian 8.1 with mpich. I'm out of the office until next week. I'll investigate further when I get back.

Re: testing Pelegant on elegantExamples

Posted: 26 Oct 2015, 16:58
by soliday
I put up a new elegant-28.1.0-2.debian.8.1.mpich.x86_64.rpm file. This should be the exact same as the previous version except this one includes a Pelegant that was not compiled with the -D_FORTIFY_SOURCE=2 option. Pelegant now solves the example problem correctly. I tried building the same version of MPICH as the system installed version and noticed this was one of the things that Debian added to mpicc that wasn't standard. I am going to now go check if this is the case for other flavors of Linux.

Re: testing Pelegant on elegantExamples

Posted: 07 Aug 2016, 10:06
by jcytsai
Dear Dr. Soliday,

It happened to me today this similar/same problem. When I used Pelegant (29.1.0, elegant-29.1.0-1.rhel.6.mpich.x86_64.rpm) on my computer with the version

Linux version 2.6.32-431.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Fri Nov 22 03:15:09 UTC 2013

I fail to plot the tracking results and got an error message below (however, when using elegant, there is no such problem):

Error:
Unable to read page--unrecognized data mode (SDDS_ReadPageSparse)
error: no datasets to plot

Is there a way to resolve this problem? Could you please give more detailed steps I could take/follow to solve this issue if I need to set up/change something on my computer?

Thanks!
Cheng-Ying

Re: testing Pelegant on elegantExamples

Posted: 08 Aug 2016, 10:46
by soliday
I just verified that the -D_FORTIFY_SOURCE=2 issue exists on Redhat Enterprise 6 with MPICH. I rebuilt Pelegant without that compiler option. You can get the new version at http://www.aps.anl.gov/asd/oag/download ... x86_64.rpm

I'm going to check all the other Linux operating systems now and post updates for any affected systems.

Re: testing Pelegant on elegantExamples

Posted: 04 Nov 2021, 05:27
by blanco-garcia
Dear all,
I have a similar problem with Elegant 2021.3.0 on CentOS 7 and MPICH 3.
The output file from a momentum aperture calculation are empty.
Is there any compiled version without the -D_FORTIFY_SOURCE=2 flag ?

Best regards,
o

Re: testing Pelegant on elegantExamples

Posted: 04 Nov 2021, 11:29
by soliday
I have updated the RHEL7 mpich versions. I removed the FORTIFY_SOURCE flag. I also check the RHEL8 version of mpich. It looks like Redhat removed that flag on RHEL8.

You can download the new version from the software page. It has the same name and version but a new release date.

Re: testing Pelegant on elegantExamples

Posted: 05 Nov 2021, 08:47
by blanco-garcia
Thank you very much dear Soliday,

I have downloaded them and made a quick test and it works with one of the local mpi libs.