RPM-package for Almalinux 9

62 views
Skip to first unread message

Michael Roth

unread,
May 24, 2024, 8:06:34 AM5/24/24
to Earthworm Community Forum
Hello

I was wondering whether there is a Earthworm rpm-file for Almallinux 9?

Cheers,
Michael

Paul Friberg

unread,
May 26, 2024, 5:34:46 PM5/26/24
to earthwo...@googlegroups.com

Not yet. That's the first I have heard of that distro....

Paul

--
--
You received this message because you are subscribed to the Google
Groups "Earthworm Community Forum" group.
 
To post to this group, send an email to earthwo...@googlegroups.com
 
To unsubscribe from this group, send an email to
earthworm_for...@googlegroups.com
 
For more options, visit this group at
http://groups.google.com/group/earthworm_forum?hl=en

---
You received this message because you are subscribed to the Google Groups "Earthworm Community Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to earthworm_for...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/earthworm_forum/8ce0f428-9f96-4b8e-88a9-821a44491decn%40googlegroups.com.


--
===================================
Paul Friberg   p.fr...@isti.com
CEO/Seismologist
ISTI==Instrumental Software Technologies, Inc.
Phone +1.518.602.0001  

Larry Baker

unread,
May 26, 2024, 6:19:37 PM5/26/24
to Paul Friberg, Larry Baker, Earthworm Community Forum
Paul,

I had also never heard of it.  This is from their web page, https://almalinux.org/:

About AlmaLinux OS

AlmaLinux OS is an open-source, community-driven Linux operating system that fills the gap left by the discontinuation of the CentOS Linux stable release. AlmaLinux OS is an Enterprise Linux distro, binary compatible with RHEL®, and guided and built by the community.

As a standalone, completely free OS, AlmaLinux OS enjoys $1M in annual sponsorship from CloudLinux Inc. and support from more than 25 other sponsors. Ongoing development efforts are governed by the members of the community.

The AlmaLinux OS Foundation is a 501(c)(6) non-profit created for the benefit of the AlmaLinux OS community.

I imagine the Earthworm Red Hat/CentOS RPMs would work just fine, since AlmaLinux is binary compatible.


Michael Roth

unread,
May 30, 2024, 6:36:28 AM5/30/24
to earthwo...@googlegroups.com
Hello Paul

I tried to compile Earthworm under Almalinux 9, but I'm stuck. I used the libtirpc libraries and all the symbolic links as mentioned in the src/README file.
Unfortunately the make process does not complete. I am very unfamiliar with the compiling process and clueless on how to troubleshoot.

I attached the output of the make command, maybe it is a simple issue to fix?

Cheers,
Michael
ew_linux.bash
make.log.gz

Julian Peña

unread,
Jun 7, 2024, 9:42:18 AM6/7/24
to earthwo...@googlegroups.com
Another option would be to use Docker and use any linux distro you want under Almalinux, including the ones with ready to use Earthworm packages.

Michael Roth

unread,
Jun 12, 2024, 9:27:59 AM6/12/24
to earthwo...@googlegroups.com
Hello

I got the earthworm_7.10.1-redhat8-64bit-bin.tar.gz running on almalinux 9 :-)

The last 2 year I have been using the earthworm-centos7 version on a centos 7 and a centos 8 OS without any problems.

I copied over my parameter files from the running centos machines and started the new version on almalinux.
First, everything seems to work, but after a minute or so the eqassemble process died every time (no indications in any log files why it died)

I think I found the problem:
Maybe the size of the rings in my startstop_unix.d file was too large. I changed it to

#
#                 Startstop Configuration File for Unix
#
#    <nRing> is the number of transport rings to create.
#    <Ring> specifies the name of a ring followed by it's size
#    in kilobytes, eg        Ring    WAVE_RING 1024
#    The maximum size of a ring is 1024 kilobytes.
#    Ring names are listed in file earthworm.h.
#
nRing              6
Ring WAVE_RING     8192           # Make it large enough for ~2 secs of data
Ring FWAVE_RING    8192
Ring STATUS_RING   128
Ring PICK_RING     1024
Ring HYPO_RING     1024
Ring FPICK_RING    1024


and everything works fine


I am processing about 250 seismic stations (100sps), so I guess I need to have large enough WAVE rings (one is for the raw data the other is for data that I filter before picking).

I am a bit confused about the comment on the top of the file about a maximum size of 1024, for the rings, but in the template file the WAVE RINGS has a size of 8192.

Is the indicated limit for non-waveform rings?

Cheers,
Michael

Stefan Lisowski

unread,
Jun 12, 2024, 10:07:40 AM6/12/24
to earthwo...@googlegroups.com, Michael Roth
On 6/12/24 9:27 AM, Michael Roth wrote:
> I think I found the problem:
> Maybe the size of the rings in my startstop_unix.d file was too large.
> I changed it to


It seems unlikely your Almalinux shared memory values would be set low,
but maybe?

Here are some instructions for other Linux distributions, perhaps they
will work diredctly, perhaps Googling them will get you commands that
will work for your distribution.


 As root user, edit /etc/sysctl.conf

kernel.shmmax=134217728 kernel.shmall=134217728
    (only do this if 134217728 is greater than what’s there already)
 Reboot

OR

As root user:
echo "134217728" > /proc/sys/kernel/shmmax
echo "134217728" > /proc/sys/kernel/shmall

OR (I don't remember what this last command does off-hand)

sysctl -p


--








*To follow ISTI news and updates please subscribe to our newsletter
"the isti letter" at  https://www.isti.com/newsletter-sign-up
<https://www.isti.com/newsletter-sign-up>.*





Michael Roth

unread,
Jun 12, 2024, 10:25:10 AM6/12/24
to Stefan Lisowski, earthwo...@googlegroups.com
Thanks for the tip Stefan!

But the shared memory values on my system are certainly large enough
[root@hel lib]# cat /proc/sys/kernel/shmmax
18446744073692774399
[root@hel lib]# cat /proc/sys/kernel/shmall
18446744073692774399
[root@hel lib]#

I am wondering, whether there are hard-coded limitations in the
earthworm software?

Cheers,
Michael

Larry Baker

unread,
Jun 12, 2024, 12:39:39 PM6/12/24
to dr.mich...@gmail.com, Larry Baker, Earthworm Community Forum
Michael,

I got the earthworm_7.10.1-redhat8-64bit-bin.tar.gz running on almalinux 9 :-)

You originally had Earthworm build errors.  What did you change to obtain a successful build?  Please attach the ew_linux.bash and make.log output for the version that you are running, as you did originally.  And please say whether you modified any of the code in Earthworm.

What I would be looking for are any possible mixups of 64-bit code with 32-bit code.  (On Intel processors, for example, all the build commands should include only -m32 or -m64, but not mix them.)  You cannot mix 32-bit and 64-bit earthworm modules.  (startstop cannot tell if you have some 32-bit modules and some 64-bit modules.)

Also, try the latest source code in the Earthworm GitLab repository at https://gitlab.com/seismic-software/earthworm/activity.  There have been fixes to Earthworm since version 7.10.1.  I don't know if those would affect your usage.

I copied over my parameter files from the running centos machines and started the new version on almalinux.
First, everything seems to work, but after a minute or so the eqassemble process died every time (no indications in any log files why it died)

Are the Earthworm processes still running, or have they been killed?  Check the operating system logs for any signs of Linux out-of-memory killer activity.  Make sure you have enough RAM and are not swapping.  If your swap file is too small, or non-existent, the OOM killer could have tried to free up memory.

Please include at least your parameter files and the output from startstop as well.

I think I found the problem:
Maybe the size of the rings in my startstop_unix.d file was too large. I changed it to

The comment about ring size limit in the example startstop parameter file is outdated.  That should be fixed in the Earthworm distribution sample params directory.

This is troublesome.  It would be an Earthworm bug, I think.  I would expect startstop to fail to create the rings if they were too large for your operating system limits.  Other than that, I fixed the Earthworm ring wrap-around logic many years ago to take care of bugs when ring sizes exceeded 32-bit addressing limits on 64-bit Earthworm.  I am not aware of any coding errors in the Earthworm shared memory logic since then.

Larry Baker

Michael Roth

unread,
Jun 13, 2024, 2:46:59 AM6/13/24
to Larry Baker, Earthworm Community Forum
Hello Larry

I did not manage to compile earthworm myself.
I followed the instructions in the README files, but the make process ended with two errors (I attached the output in an earlier email)
Since I am too unfamiliar, I abandoned the compilation attempt.

I  just tried to reproduce the failure by running with my original startstop_unix.d with the larger ring sizes, and I CANNOT reproduce the problem. The installed Earthworm system is working.
So it seems that I was chasing a red herring.

I made so many attempts and installed various libs, that I lost overview.
Maybe there was also an issue with file permissions...

Anyway, to make it short:

The earthworm_7.10.1-redhat8-64bit-bin.tar.gz is working on a Almalinux 9 OS

root@hel earthworm]# cat /etc/*-release
AlmaLinux release 9.4 (Seafoam Ocelot)
NAME="AlmaLinux"
VERSION="9.4 (Seafoam Ocelot)"
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.4"
PLATFORM_ID="platform:el9"
PRETTY_NAME="AlmaLinux 9.4 (Seafoam Ocelot)"
ANSI_COLOR="0;34"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:9::baseos"
HOME_URL="https://almalinux.org/"
DOCUMENTATION_URL="https://wiki.almalinux.org/"
BUG_REPORT_URL="https://bugs.almalinux.org/"

ALMALINUX_MANTISBT_PROJECT="AlmaLinux-9"
ALMALINUX_MANTISBT_PROJECT_VERSION="9.4"
REDHAT_SUPPORT_PRODUCT="AlmaLinux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.4"
SUPPORT_END=2032-06-01
AlmaLinux release 9.4 (Seafoam Ocelot)


Sorry for the fuss and many thanks for your time and tips!

Cheers,
Michael
Reply all
Reply to author
Forward
0 new messages