testing Pelegant on elegantExamples

Moderators: cyao, michael_borland

soliday
Posts: 390
Joined: 28 May 2008, 09:15

Re: testing Pelegant on elegantExamples

Post by soliday » 20 Oct 2015, 22:13

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.

soliday
Posts: 390
Joined: 28 May 2008, 09:15

Re: testing Pelegant on elegantExamples

Post by soliday » 26 Oct 2015, 16:58

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.

jcytsai
Posts: 41
Joined: 01 Oct 2012, 20:18

Re: testing Pelegant on elegantExamples

Post by jcytsai » 07 Aug 2016, 10:06

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

soliday
Posts: 390
Joined: 28 May 2008, 09:15

Re: testing Pelegant on elegantExamples

Post by soliday » 08 Aug 2016, 10:46

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.

blanco-garcia
Posts: 68
Joined: 29 Oct 2021, 10:41

Re: testing Pelegant on elegantExamples

Post by blanco-garcia » 04 Nov 2021, 05:27

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

soliday
Posts: 390
Joined: 28 May 2008, 09:15

Re: testing Pelegant on elegantExamples

Post by soliday » 04 Nov 2021, 11:29

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.

blanco-garcia
Posts: 68
Joined: 29 Oct 2021, 10:41

Re: testing Pelegant on elegantExamples

Post by blanco-garcia » 05 Nov 2021, 08:47

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.

Post Reply