|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Dec 2022
Posts: 2
Rep Power: 0 ![]() |
Hi everyone,
I'm trying to install Reef3D on a windows 10 machine. Unfortunately I am not able to install the ubuntu app as it is on a corporate laptop. As a result the windows store is disabled and you can only download the ubuntu app through that, or at least... so it appears to me. I've come a decent way trying to install it without the ubuntu app. I've installed the the compilers & openmpi using cygwin. I installed the hypre library using cmake and visual studios (following instructions of hypre). With this setup, I can run "make -j N" in the cygwin terminal and all the different subroutines appear to compile succesfully. Only at the very end, an error is thrown, see the code below. I'm currently stuck here... Does anyone by any chance know how to fix this, and if this can be fixed? It seems some libraries are missing, but google doesnt help me much further. Just wondering if this is a dead end, or still worth pursuing. Many thanks, Dirk **** ERROR CODE **** /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lhwloc: No such file or directory /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: cannot find -levent_core: No such file or directory /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: cannot find -levent_pthreads: No such file or directory /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lz: No such file or directory collect2: error: ld returned 1 exit status make: *** [Makefile:27: bin/REEF3D] Error 1 **** ERROR CODE **** |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 14 ![]() |
Hi Dirk,
We had previously explored Cygwin on windows, but by the time we standardised everything, Ubuntu on windows was available and due to its integration into the windows OS seemed to be the wise choice to make. The error you paste points to hwloc package not being installed. use sudo apt-get install hwloc (I hope this works on Cygwin but I dont have a machine to verify) and try compiling again. For best results, you might want to explore the possibility of a native Unix machine (Linux/ Mac OS)
__________________
Arun X years with REEF3D |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Join Date: Dec 2022
Posts: 2
Rep Power: 0 ![]() |
Hi Arun,
Thanks for your quick response. I was missing a fair number of libraries which were troubling my installation. Ultimately I got it working, thanks for pointing me in the right direction! Best, Dirk |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
EL MEHDI EL GANA
Join Date: Feb 2024
Posts: 4
Rep Power: 3 ![]() |
I have the same problem, i try to install REEF3D and i got this error :
cannot find -lHYPRE collect2: error: ld returned 1 exit status make: *** [Makefile:27: bin/REEF3D] Error 1 |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Alexander Hanke
Join Date: Dec 2023
Location: Trondheim
Posts: 56
Rep Power: 4 ![]() |
Hei MehdiGana,
your problem appears to not be the same as the previously described one. Please do not take over other peoples threads. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM for Windows 10 | cfd.direct | OpenFOAM Announcements from OpenFOAM Foundation | 6 | April 22, 2020 07:08 |
blockMesh wmake error for OpenFOAM5 on ubuntu on windows | rclement | OpenFOAM Programming & Development | 2 | March 5, 2018 16:57 |
errors during compilation and installation of OpenFOAM-1.7.x on Ubuntu 10.04 | ftec | OpenFOAM Installation | 7 | February 23, 2011 06:07 |
Wmake ccm26ToFoam compilation problem under Ubuntu x64 810 | kprzysowagmailcom | OpenFOAM Installation | 7 | November 6, 2009 04:33 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 14:25 |