-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests failing #661
Comments
Thank you for reporting (and sorry by the 1mo delay). In your log there is a lot of version GFORTRAN_10 not found which probably means something is wrong with your dynamic linker not being able to find the correct libgfortran (it's the system fault). Could you tell more about what distro are you using? Is it a WSL? locate libgfortran
echo $LD_LIBRARY_PATH
echo $LD_PRELOAD |
Dear Ian,
Thank you for responding. I have run the commands you asked, the output is pasted below.
About the system: I have pasted the content of ~/etc/os-release also below.
…------------------------
~/etc/os-release:
------------------------
NAME="Rocky Linux"
VERSION="8.5 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.5"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.5 (Green Obsidian)"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION=“8"
------------------------
echo $LD_LIBRARY_PATH
------------------------
/tmp_mnt/el8/intel/compilers_and_libraries_2020.0.166/linux/mpi/intel64/libfabric/lib:/tmp_mnt/el8/intel/compilers_and_libraries_2020.0.166/linux/mpi/intel64/lib/release:/tmp_mnt/el8/intel/compilers_and_libraries_2020.0.166/linux/mpi/intel64/lib:/usr/local/lib/vtk:/usr/local/wx/lib:/usr/local/dshome/lib:/usr/local/dshome/local/tacoclntlib:/usr/local/extras/intel/lib
------------------------
echo $LD_PRELOAD
------------------------
There is no output in the shell. This variable seems to be empty.
Kind regards,
Jonathan Kipp
PhD Candidate
Topological Nanoelectronics Group
PGI-1/IAS-1, Juelich Research Center
https://www.fz-juelich.de/pgi/pgi-1/EN/Home/home_node.html
***@***.***
On 5. Jul 2022, at 06:27, Ian Giestas Pauli ***@***.***> wrote:
Thank you for reporting (and sorry by the 1mo delay).
I'm not being able to reproduce the error at all.
In your log there is a lot of version GFORTRAN_10 not found which probably means something is wrong with your dynamic linker not being able to find the correct libgfortran (it's the system fault).
Could you tell more about what distro are you using? Is it a WSL?
Also could you please post the results of the following commands:
locate libgfortran
echo $LD_LIBRARY_PATH
echo $LD_PRELOAD
—
Reply to this email directly, view it on GitHub <#661 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ALECNNZLG76SQDFGBJ4IIQLVSO2S7ANCNFSM5XUAVNJA>.
You are receiving this because you authored the thread.
|
This really looks like - as was mentioned above - that the paths on your system have been changed during your building change. /lib64 does not look like a standard place where a libgfortran.so resides on a Linux system. On RedHat or Scientific Linux they reside in /usr/lib64, for Ubuntu it is in /usr/lib/x86_64-linux-gnu. Could it be that some variable that was at the head of /lib64 is missing? In any case the error message tells that the gfortran 10 version is not available/compatible with the libgfortran.so as you can see e.g. from this page: https://www.mjr19.org.uk/sw/gfortran.html |
@JonathanKipp, you forgot to include the output of Here is the output on my machine (Arch Linux):
Pick one of the lines of the
Here is the output on my machine:
As you can see the GFORTRAN_10 abi is supported here. If you found the GFORTRAN_10 in any of the entries then try running it with appending a If none of this helped, I suggest you fetch a fresh copy of the code (to avoid any possible conflict with build files like older "mod" files) and try again. |
@14NGiestas Sorry, I forgot about the libgfortran. As you can see below, your and @Romendakil are right:
I will talk to the admins about this, thank you! |
GFortran 4.8 is missing features used in stdlib, you need at least GFortran 9 or newer. |
@14NGiestas @awvwgk Hello again, below you can find the output from the
There is a
I tried giving this to cmake with
|
The If you have installed GFortran 10 yourself there, consider removing it from the prefix again and install it differently to save yourself trouble in the future. To get GFortran 10 either try a package from your package manager (https://rockylinux.pkgs.org/8/rockylinux-appstream-x86_64/gcc-toolset-10-toolchain-10.1-0.el8.x86_64.rpm.html). If you want to install the compiler only locally, you can use conda-forge:
Than you can activate your compiler with
This should provide you with a proper compiler setup, which produces libraries even if the compiler environment is not loaded. |
Hi @JonathanKipp, your LD_LIBRARY_PATH should be a path-to-a-folder not a path-to-a-file, you should try this instead:
This way you may be able to compile and test the stdlib in your system's current state, but you should look for a permanent solution. |
I also tried to run the tests in @JonathanKipp's working environment. Setting |
Description
compiler: any of gcc10,gcc12
OS: linux-gnu
Following the instructions from README, I get a lot of failing tests when doing
cmake --build build --target test
(see attached file).I ran the tests and installed succesfully on the same platform with the same compilers before i did a new
git pull
, but I dont remember if it was another release.LastTest.log
Expected Behaviour
I expect the tests to run succesfully.
Version of stdlib
any from 8e0d8dd down to fb4ca80
Platform and Architecture
OS: linux-gnu >>>uname -a Linux iff1426 4.18.0-348.20.1.el8_5.x86_64 #1 SMP Thu Mar 10 20:59:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Additional Information
No response
The text was updated successfully, but these errors were encountered: