I wondered if anyone could help with a problem compiling seisan explorer on Linux (Centos 6.10).
I have qt (5.12.9) installed in a conda environment along with gcc and libgcc. Everything seems to compile but the linker produces a series of messages like the following for all the seisan library modules. /users/seisoft/source/seisan/seisan11.0/LIB/sacsubf.for:1511: relocation truncated to fit: R_X86_64_32S against symbol `sachdr_' defined in COMMON section in /users/seisoft/source/seisan/seisan11.0/SUP/se-source/linux/seisan.a(sacsei_lib.o) The make fails with the error collect2: error: ld returned 1 exit status make: *** [se] Error 1 I guess this is the result of missing symbols. It looks like the linker is trying to push 64 bit addresses into 32 bit spaces, but I don't know how to resolve this. Has anyone else a managed to successfully make seisan explorer in a conda environment? Brian Brian -----Original Message----- From: Luckett, Richard R. Sent: 12 October 2020 18:56 To: Baptie, Brian J. <[email protected]> Subject: RE: seisan explorer HI Brian, If they install then that's fine. Be aware though that that is why I got a centos 7 machine made up - libgcc only goes so high on the OS we have. So if it starts really moaning then ask and I'll look out what I found out recently. Rich -----Original Message----- From: Baptie, Brian J. <[email protected]> Sent: 12 October 2020 17:11 To: Luckett, Richard R. <[email protected]> Subject: RE: seisan explorer Hi Rich, The make failed with the error ./database.h:13:40: error: QtConcurrent/QtConcurrentRun: No such file or directory This function is part of Qt5, which isn't installed. I can install this in the obspy environment. However, it will install a few new packages as well as update others. Details below. Are you happy for me to do this? I can install in a new environment if preferred. Brian The following NEW packages will be INSTALLED: _libgcc_mutex: 0.1-conda_forge conda-forge _openmp_mutex: 4.5-1_gnu conda-forge libgcc-ng: 9.3.0-h5dbcf3e_17 conda-forge libgomp: 9.3.0-h5dbcf3e_17 conda-forge qt5: 5.3.1-1 dsdale24 The following packages will be UPDATED: ca-certificates: 2017.1.23-0 conda-forge --> 2020.6.20-hecda079_0 conda-forge certifi: 2017.1.23-py35_0 conda-forge --> 2018.8.24-py35_1001 conda-forge openssl: 1.0.2h-3 conda-forge --> 1.0.2u-h516909a_0 conda-forge From: Luckett, Richard R. Sent: 12 October 2020 15:06 To: Baptie, Brian J. <[email protected]> Subject: RE: seisan explorer Hi Brian, That should work but I thought all python 2 was gone now - can't it use qt5 under python 3.6? The python to use on those boxes is the one you get by 'conda activate obspy' as analyst. That would also be where any new version wound up. I'm surprised that qt isn't there already. Rich. From: Baptie, Brian J. Sent: 12 October 2020 14:24 To: Luckett, Richard R. <mailto:[email protected]> Subject: seisan explorer Hi Rich, I've just started looking into seisan explorer on Linux. You need the Qt 5 framework (https://www.qt.io/developers) to compile Seisan Explorer on a Linux system. I've downloaded the open source version and need to compile this, but it needs to have Python version 2.7. Our Linux boxes have Python 2.6.6 as the system Python version. I don't really want to mess around installing Python on individual machines so I'd prefer install a new version of Python for the seisoft account using conda. I think I can also install Qt5 from conda rather than compiling the source code. Do you see potential problems with this? Brian This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. UK Research and Innovation (UKRI) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UKRI does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. Opinions, conclusions or other information in this message and attachments that are not related directly to UKRI business are solely those of the author and do not represent the views of UKRI. _______________________________________________ seisan mailing list [email protected] https://mailman.uib.no/listinfo/seisan
