Skip to content
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

Compiling Error - unsupported option - 'fopenmp' #8

Open
B-Lindsey opened this issue Jun 7, 2021 · 3 comments
Open

Compiling Error - unsupported option - 'fopenmp' #8

B-Lindsey opened this issue Jun 7, 2021 · 3 comments

Comments

@B-Lindsey
Copy link

B-Lindsey commented Jun 7, 2021

Each time I run the setup shell there is a compiling code error at the same place during producing output data catalogues.

Sorting list of stars in order of brightness
Producing output data catalogues
Compiling code
mkdir -p obj obj/astroGraphics obj/coreUtils obj/listTools obj/mathsTools obj/settings obj/vectorGraphics
cc -Wall -Wno-format-truncation -Wno-unused-result -g -fopenmp -c -I
/Astronomy/star-charter-master/src -O3 -D DEBUG=0 -D MEMDEBUG1=0 -D MEMDEBUG2=0 -D DCFVERSION="3.0" -D DATE="09/06/2019" -D PATHLINK="/" -D SRCDIR="/Astronomy/star-charter-master/src/" src/astroGraphics/constellations.c -o obj/astroGraphics/constellations.o
clang: error: unsupported option '-fopenmp'
make: *** [obj/astroGraphics/constellations.o] Error 1

@pabrown1975
Copy link

I got the same issue trying to run the setup.sh script directly. I believe the intended method is to run it from a Docker container. You'd need to download Docker Desktop and then follow the instructions in README.md.

However, it would be really nice to have a way to build and run this project without Docker. Has anyone been able to do this?

@pabrown1975
Copy link

I spent hours trying this and it's a dead end for me. MacOS is just missing too many tools, like even apt-get, and there aren't any Homebrew equivalents to some of the things that are required. So I think the only straightforward way to run this project is through Docker.

@emilycardwell
Copy link

emilycardwell commented Nov 16, 2024

I have the same issue:

[Sat Nov 16 16:40:25 CET 2024] Merging star catalogues
Traceback (most recent call last):
File "/<USER_PATH>/star-charter/data/stars/starCataloguesMerge/./main_catalogue_merge.py", line 41, in <module>
import numpy as np
ModuleNotFoundError: No module named 'numpy'
[Sat Nov 16 16:40:26 CET 2024] Compiling code
rm -vfR obj bin
mkdir -p obj obj/astroGraphics obj/coreUtils obj/ephemCalc obj/listTools obj/mathsTools obj/settings obj/vectorGraphics
cc -Wall -Wno-format-truncation -Wno-unused-result -g -fopenmp -c -I /<USER_PATH>/star-charter/src -O3 -D DEBUG=0 -D MEMDEBUG1=0 -D MEMDEBUG2=0 -D DCFVERSION=\"6.0\" -D DATE=\"26/08/2024\" -D PATHLINK=\"/\" -D SRCDIR=\"/<USER_PATH>/star-charter/src/\" src/astroGraphics/constellations.c -o obj/astroGraphics/constellations.o
clang: error: unsupported option '-fopenmp'
make: *** [obj/astroGraphics/constellations.o] Error 1
[Sat Nov 16 16:40:26 CET 2024] Generating a test chart
./setup.sh: line 81: ../bin/starchart.bin: No such file or directory

my setup:

  • MacOS Sonoma 14.5 (23F79)
  • [email protected]: stable 3.12.6 (bottled)
  • pip 24.2
  • numpy 1.26.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants