-
Notifications
You must be signed in to change notification settings - Fork 6
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
pkg> test NOMAD fails on FreeBSD 13 #40
Comments
Thank you for your feedback @ko56. Infortunately, I do not have a FreeBSD environment... From the logs, it looks like it does not find the libraries. Could you try the following steps:
|
I see, thanks. Indeed, I don't have OpenMP installed at all. I'm surprised the compilation works. |
The CMakefile can detect if you have openMP or not. For Julia, do not use openMP, as it does not work for interfacing (the threads part of Julia is still experimental). The I never compiled myself |
Hmm, I'm confused. I use the official Julia binary for FreeBSD. That seems to be compiled with clang 10, the official compiler on FreeBSD. Are you saying that NOMAD needs gcc to be present in the system? And if so, which version? |
@ko56 I apologize, I was not really clear. NOMAD is principally tested with
We did not test it on detail on FreeBSD, but for the moment,
Once it is done, indicate the path towards the C interface as explained previously, and test the package.
Once it is done, indicate the path towards the C interface as explained previously, and test the package. If it does not work, we will try to investigate. |
@dpo Thanks for the link ! |
I opened a PR to recompile NOMAD with Clang on FreeBSD and OSX platforms (JuliaPackaging/Yggdrasil#3072). After the release of the new |
Thank you. I don't understand what CirrusCl is about, however. |
CirrusCI is similar to Travis or GitHub Actions. The main difference is the support of FreeBSD platforms. |
I interpret that to mean that, as a user, I don't have to worry about it. Right? |
Yep, you're right. |
@ko56 Can you upgrade |
I'm having problems updating right now. Will re-try on Sunday. |
I updated to NOMAD_jll v4.0.1+1. Problem seems the same: [8e850ede] nghttp2_jll signal (11): Segmentation fault |
Thanks very much for your work on this! I'm running FreeBSD 13, and have clang 11.
I'm using the latest NOMAD package. When I try to test it, I get a long error:
[8e850ede] nghttp2_jll
@stdlib/nghttp2_jll
[3f19e933] p7zip_jll
@stdlib/p7zip_jll
Testing Running tests...
Test Summary: | Pass Total
creation of a Nomad problem : assertions | 28 28
signal (11): Segmentation fault
in expression starting at /usr/home/ko/.julia/packages/NOMAD/P7j5X/test/basic_problems.jl:1
ZN11NOMAD_4_0_010Parameters17setSpValueDefaultImEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEET at /usr/home/ko/.julia/artifacts/d9b565aa4870bf0df27a4f90c279c945de56415a/lib/libnomadCInterface.so (unknown line)
ZN11NOMAD_4_0_010Parameters17setAttributeValueIiEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEET at /usr/home/ko/.julia/artifacts/d9b565aa4870bf0df27a4f90c279c945de56415a/lib/libnomadCInterface.so (unknown line)
addNomadValParam at /usr/home/ko/.julia/artifacts/d9b565aa4870bf0df27a4f90c279c945de56415a/lib/libnomadCInterface.so (unknown line)
create_c_nomad_problem at /usr/home/ko/.julia/packages/NOMAD/P7j5X/src/c_wrappers.jl:68
unknown function (ip: 0x818067cac)
solve at /usr/home/ko/.julia/packages/NOMAD/P7j5X/src/core.jl:584
unknown function (ip: 0x818062e95)
_jl_invoke at /usr/home/julia/worker/package_freebsd64/build/src/gf.c:0 [inlined]
jl_apply_generic at /usr/home/julia/worker/package_freebsd64/build/src/gf.c:2419
jl_apply at /usr/home/julia/worker/package_freebsd64/build/src/./julia.h:1703 [inlined]
do_call at /usr/home/julia/worker/package_freebsd64/build/src/interpreter.c:115
eval_body at /usr/home/julia/worker/package_freebsd64/build/src/interpreter.c:435
eval_body at /usr/home/julia/worker/package_freebsd64/build/src/interpreter.c:490
eval_body at /usr/home/julia/worker/package_freebsd64/build/src/interpreter.c:490
jl_interpret_toplevel_thunk at /usr/home/julia/worker/package_freebsd64/build/src/interpreter.c:670
jl_toplevel_eval_flex at /usr/home/julia/worker/package_freebsd64/build/src/toplevel.c:877
jl_toplevel_eval_flex at /usr/home/julia/worker/package_freebsd64/build/src/toplevel.c:825
jl_toplevel_eval at /usr/home/julia/worker/package_freebsd64/build/src/toplevel.c:886 [inlined]
jl_toplevel_eval_in at /usr/home/julia/worker/package_freebsd64/build/src/toplevel.c:929
eval at ./boot.jl:360 [inlined]
include_string at ./loading.jl:1094
_jl_invoke at /usr/home/julia/worker/package_freebsd64/build/src/gf.c:0 [inlined]
jl_apply_generic at /usr/home/julia/worker/package_freebsd64/build/src/gf.c:2419
_include at ./loading.jl:1148
include at ./client.jl:444
_jl_invoke at /usr/home/julia/worker/package_freebsd64/build/src/gf.c:0 [inlined]
jl_apply_generic at /usr/home/julia/worker/package_freebsd64/build/src/gf.c:2419
jl_apply at /usr/home/julia/worker/package_freebsd64/build/src/./julia.h:1703 [inlined]
do_call at /usr/home/julia/worker/package_freebsd64/build/src/interpreter.c:115
eval_stmt_value at /usr/home/julia/worker/package_freebsd64/build/src/interpreter.c:155 [inlined]
eval_body at /usr/home/julia/worker/package_freebsd64/build/src/interpreter.c:558
jl_interpret_toplevel_thunk at /usr/home/julia/worker/package_freebsd64/build/src/interpreter.c:670
jl_toplevel_eval_flex at /usr/home/julia/worker/package_freebsd64/build/src/toplevel.c:877
jl_toplevel_eval_flex at /usr/home/julia/worker/package_freebsd64/build/src/toplevel.c:825
jl_toplevel_eval at /usr/home/julia/worker/package_freebsd64/build/src/toplevel.c:886 [inlined]
jl_toplevel_eval_in at /usr/home/julia/worker/package_freebsd64/build/src/toplevel.c:929
eval at ./boot.jl:360 [inlined]
include_string at ./loading.jl:1094
_jl_invoke at /usr/home/julia/worker/package_freebsd64/build/src/gf.c:0 [inlined]
jl_apply_generic at /usr/home/julia/worker/package_freebsd64/build/src/gf.c:2419
_include at ./loading.jl:1148
include at ./client.jl:444
_jl_invoke at /usr/home/julia/worker/package_freebsd64/build/src/gf.c:0 [inlined]
jl_apply_generic at /usr/home/julia/worker/package_freebsd64/build/src/gf.c:2419
jl_apply at /usr/home/julia/worker/package_freebsd64/build/src/./julia.h:1703 [inlined]
do_call at /usr/home/julia/worker/package_freebsd64/build/src/interpreter.c:115
eval_stmt_value at /usr/home/julia/worker/package_freebsd64/build/src/interpreter.c:155 [inlined]
eval_body at /usr/home/julia/worker/package_freebsd64/build/src/interpreter.c:558
jl_interpret_toplevel_thunk at /usr/home/julia/worker/package_freebsd64/build/src/interpreter.c:670
jl_toplevel_eval_flex at /usr/home/julia/worker/package_freebsd64/build/src/toplevel.c:877
jl_toplevel_eval_flex at /usr/home/julia/worker/package_freebsd64/build/src/toplevel.c:825
jl_toplevel_eval at /usr/home/julia/worker/package_freebsd64/build/src/toplevel.c:886 [inlined]
jl_toplevel_eval_in at /usr/home/julia/worker/package_freebsd64/build/src/toplevel.c:929
eval at ./boot.jl:360 [inlined]
exec_options at ./client.jl:261
_start at ./client.jl:485
jfptr__start_32242.clone_1 at /opt/julia-1.6.1/lib/julia/sys.so (unknown line)
_jl_invoke at /usr/home/julia/worker/package_freebsd64/build/src/gf.c:0 [inlined]
jl_apply_generic at /usr/home/julia/worker/package_freebsd64/build/src/gf.c:2419
jl_apply at /usr/home/julia/worker/package_freebsd64/build/src/./julia.h:1703 [inlined]
true_main at /usr/home/julia/worker/package_freebsd64/build/src/jlapi.c:560
repl_entrypoint at /usr/home/julia/worker/package_freebsd64/build/src/jlapi.c:702
main at /opt/julia-1.6.1/bin/julia (unknown line)
_start at /opt/julia-1.6.1/bin/julia (unknown line)
unknown function (ip: 0x800623007)
Allocations: 38615606 (Pool: 38601434; Big: 14172); GC: 50
ERROR: Package NOMAD errored during testing (received signal: 11)
(@v1.6) pkg>
The text was updated successfully, but these errors were encountered: