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

Build fails for esi-opticks on MacOS using esi-shell #24

Open
plexoos opened this issue Mar 25, 2024 · 4 comments
Open

Build fails for esi-opticks on MacOS using esi-shell #24

plexoos opened this issue Mar 25, 2024 · 4 comments

Comments

@plexoos
Copy link
Member

plexoos commented Mar 25, 2024

=== opticks-setup-geant4- : sourcing /opt/spack/opt/spack/linux-ubuntu22.04-sapphirerapids/gcc-11.4.0/geant4-11.1.2-z4zrvgbct5pf2uhyrxf7xlo5mjalfiwf/./bin/geant4.sh
=== om-check : top level bdir /usr/local/opticks/build/ does not exist : creating it
=== om-visit-one : okconf          /esi-opticks/opticks/okconf                                  /usr/local/opticks/build/okconf                              
=== om-one-or-all install : okconf          /esi-opticks/opticks/okconf                                  /usr/local/opticks/build/okconf                              
Illegal instruction
=== om-make-one : okconf          /esi-opticks/opticks/okconf                                  /usr/local/opticks/build/okconf                              
=== om-make-one : ERROR bdir /usr/local/opticks/build/okconf exists but does not contain a Makefile : you need to om-install OR om-conf once before using om-make or the om-- shortcut
=== om-one-or-all install : non-zero rc 2
=== om-all om-install : ERROR bdir /usr/local/opticks/build/okconf : non-zero rc 2
=== om-one-or-all install : non-zero rc 2
=== opticks-full : ERR from opticks-full-make
@plexoos
Copy link
Member Author

plexoos commented Mar 25, 2024

Looks like the cmake executable is not functional:

[root@d51633653776:/esi-opticks/opticks] 
$ cmake --help
Illegal instruction

@plexoos
Copy link
Member Author

plexoos commented Mar 26, 2024

Interestingly, this happens with images built on npps0

@buddhasystem
Copy link

But the actual cmake on the host itself works, right? I just checked.

@plexoos
Copy link
Member Author

plexoos commented Mar 26, 2024

That is correct. Moreover, the cmake built in the container with Spack works on npps0 as well. But it does not work in the same image when moved to a different machine (I tested with my i9 MacBook and your onyx). However, if the image is built on my i9 and then moved to npps0 the cmake works fine.

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

2 participants