1 |
I'm not actually sure that this is specific to use of gomp. Could |
2 |
this be a problem with my gcc install in general? |
3 |
|
4 |
On Jul 19, 2007, at 2:03 AM, Fabian Groffen wrote: |
5 |
> Right, I think gcc-config doesn't copy that lib to the place gcc is |
6 |
> looking for it. I'm affraid the lib is installed in |
7 |
> /Users/wilson/Library/Gentoo/lib/libgomp.1.dylib ... |
8 |
> Can you verify that. I have to ponder a bit about this. |
9 |
|
10 |
"libgomp.1.dylib" is in |
11 |
|
12 |
/Users/wilson/Library/Gentoo/usr/lib/gcc/i686-apple-darwin8/4.2.0/ |
13 |
|
14 |
and nowhere else. Do I have to tell gcc to look here specifically or |
15 |
should it know where it's libraries are? So running otool yields |
16 |
|
17 |
$ otool -L /Users/wilson/Library/Gentoo/lib/libgomp.1.dylib |
18 |
otool: can't open file: /Users/wilson/Library/Gentoo/lib/libgomp. |
19 |
1.dylib (No such file or directory) |
20 |
|
21 |
$ otool -L /Users/wilson/Library/Gentoo/usr/lib/gcc/i686-apple- |
22 |
darwin8/4.2.0/libgomp.1.dylib |
23 |
/Users/wilson/Library/Gentoo/usr/lib/gcc/i686-apple-darwin8/4.2.0/ |
24 |
libgomp.1.dylib: |
25 |
/Users/wilson/Library/Gentoo/usr/lib/libgomp.1.dylib |
26 |
(compatibility version 2.0.0, current version 2.0.0) |
27 |
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, |
28 |
current version 88.3.9) |
29 |
|
30 |
> Can you tell me |
31 |
> what package this is, or show me the compilation log of this program. |
32 |
> It might be that some stupid things are being done there. The -lgomp |
33 |
> should just find the library, but somehow a wrong path is encoded. |
34 |
|
35 |
The package is a semi-definite programming library called CSDP. It |
36 |
doesn't use autotools, but here's the output of make |
37 |
|
38 |
$ make |
39 |
cd lib; make libsdp.a |
40 |
make[1]: Entering directory `/Users/wilson/Documents/Work/csdp/lib' |
41 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
42 |
DUSEOPENMP -fopenmp -I../include -c -o readprob.o readprob.c |
43 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
44 |
DUSEOPENMP -fopenmp -I../include -c -o sdp.o sdp.c |
45 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
46 |
DUSEOPENMP -fopenmp -I../include -c -o op_o.o op_o.c |
47 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
48 |
DUSEOPENMP -fopenmp -I../include -c -o psd_feas.o psd_feas.c |
49 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
50 |
DUSEOPENMP -fopenmp -I../include -c -o op_a.o op_a.c |
51 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
52 |
DUSEOPENMP -fopenmp -I../include -c -o op_at.o op_at.c |
53 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
54 |
DUSEOPENMP -fopenmp -I../include -c -o Fnorm.o Fnorm.c |
55 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
56 |
DUSEOPENMP -fopenmp -I../include -c -o calc_pobj.o calc_pobj.c |
57 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
58 |
DUSEOPENMP -fopenmp -I../include -c -o calc_dobj.o calc_dobj.c |
59 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
60 |
DUSEOPENMP -fopenmp -I../include -c -o trace_prod.o trace_prod.c |
61 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
62 |
DUSEOPENMP -fopenmp -I../include -c -o zero_mat.o zero_mat.c |
63 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
64 |
DUSEOPENMP -fopenmp -I../include -c -o mat_mult.o mat_mult.c |
65 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
66 |
DUSEOPENMP -fopenmp -I../include -c -o sym_mat.o sym_mat.c |
67 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
68 |
DUSEOPENMP -fopenmp -I../include -c -o copy_mat.o copy_mat.c |
69 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
70 |
DUSEOPENMP -fopenmp -I../include -c -o addscaledmat.o addscaledmat.c |
71 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
72 |
DUSEOPENMP -fopenmp -I../include -c -o user_exit.o user_exit.c |
73 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
74 |
DUSEOPENMP -fopenmp -I../include -c -o make_i.o make_i.c |
75 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
76 |
DUSEOPENMP -fopenmp -I../include -c -o allocmat.o allocmat.c |
77 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
78 |
DUSEOPENMP -fopenmp -I../include -c -o initsoln.o initsoln.c |
79 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
80 |
DUSEOPENMP -fopenmp -I../include -c -o initparams.o initparams.c |
81 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
82 |
DUSEOPENMP -fopenmp -I../include -c -o add_mat.o add_mat.c |
83 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
84 |
DUSEOPENMP -fopenmp -I../include -c -o writesol.o writesol.c |
85 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
86 |
DUSEOPENMP -fopenmp -I../include -c -o readsol.o readsol.c |
87 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
88 |
DUSEOPENMP -fopenmp -I../include -c -o easysdp.o easysdp.c |
89 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
90 |
DUSEOPENMP -fopenmp -I../include -c -o writeprob.o writeprob.c |
91 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
92 |
DUSEOPENMP -fopenmp -I../include -c -o solvesys.o solvesys.c |
93 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
94 |
DUSEOPENMP -fopenmp -I../include -c -o makefill.o makefill.c |
95 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
96 |
DUSEOPENMP -fopenmp -I../include -c -o mat_multsp.o mat_multsp.c |
97 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
98 |
DUSEOPENMP -fopenmp -I../include -c -o norms.o norms.c |
99 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
100 |
DUSEOPENMP -fopenmp -I../include -c -o linesearch.o linesearch.c |
101 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
102 |
DUSEOPENMP -fopenmp -I../include -c -o matvec.o matvec.c |
103 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
104 |
DUSEOPENMP -fopenmp -I../include -c -o chol.o chol.c |
105 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
106 |
DUSEOPENMP -fopenmp -I../include -c -o qreig.o qreig.c |
107 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
108 |
DUSEOPENMP -fopenmp -I../include -c -o tweakgap.o tweakgap.c |
109 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
110 |
DUSEOPENMP -fopenmp -I../include -c -o freeprob.o freeprob.c |
111 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
112 |
DUSEOPENMP -fopenmp -I../include -c -o packed.o packed.c |
113 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEGETTIME - |
114 |
DUSEOPENMP -fopenmp -I../include -c -o sortentries.o sortentries.c |
115 |
ar cr libsdp.a readprob.o sdp.o op_o.o psd_feas.o op_a.o op_at.o |
116 |
Fnorm.o calc_pobj.o calc_dobj.o trace_prod.o zero_mat.o mat_mult.o |
117 |
sym_mat.o copy_mat.o addscaledmat.o user_exit.o make_i.o allocmat.o |
118 |
initsoln.o initparams.o add_mat.o writesol.o readsol.o easysdp.o |
119 |
writeprob.o solvesys.o makefill.o mat_multsp.o norms.o linesearch.o |
120 |
matvec.o chol.o qreig.o tweakgap.o freeprob.o packed.o sortentries.o |
121 |
make[1]: Leaving directory `/Users/wilson/Documents/Work/csdp/lib' |
122 |
cd solver; make csdp |
123 |
make[1]: Entering directory `/Users/wilson/Documents/Work/csdp/solver' |
124 |
cc -O3 -ansi -march=prescott -Wall -DNOSHORTS -DUSEGETTIME - |
125 |
DUSEOPENMP -fopenmp -I../include -c -o csdp.o csdp.c |
126 |
cc csdp.o -L../lib -lsdp -framework Accelerate -lgomp -lm -o csdp |
127 |
make[1]: Leaving directory `/Users/wilson/Documents/Work/csdp/solver' |
128 |
cd theta; make all |
129 |
make[1]: Entering directory `/Users/wilson/Documents/Work/csdp/theta' |
130 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEOPENMP -fopenmp - |
131 |
I../include -c -o theta.o theta.c |
132 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEOPENMP -fopenmp - |
133 |
I../include theta.o -L../lib -lsdp -framework Accelerate -lgomp -lm - |
134 |
o theta |
135 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEOPENMP -fopenmp - |
136 |
I../include -c -o complement.o complement.c |
137 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEOPENMP -fopenmp - |
138 |
I../include complement.o -L../lib -lsdp -framework Accelerate -lgomp |
139 |
-lm -o complement |
140 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEOPENMP -fopenmp - |
141 |
I../include -c -o rand_graph.o rand_graph.c |
142 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEOPENMP -fopenmp - |
143 |
I../include rand_graph.o -L../lib -lsdp -framework Accelerate -lgomp |
144 |
-lm -o rand_graph |
145 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEOPENMP -fopenmp - |
146 |
I../include -c -o graphtoprob.o graphtoprob.c |
147 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEOPENMP -fopenmp - |
148 |
I../include graphtoprob.o -L../lib -lsdp -framework Accelerate - |
149 |
lgomp -lm -o graphtoprob |
150 |
make[1]: Leaving directory `/Users/wilson/Documents/Work/csdp/theta' |
151 |
cd example; make all |
152 |
make[1]: Entering directory `/Users/wilson/Documents/Work/csdp/example' |
153 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEOPENMP -fopenmp - |
154 |
I../include -c -o example.o example.c |
155 |
cc -O3 -march=prescott -ansi -Wall -DNOSHORTS -DUSEOPENMP -fopenmp - |
156 |
I../include example.o -L../lib -lsdp -framework Accelerate -lgomp - |
157 |
lm -o example |
158 |
make[1]: Leaving directory `/Users/wilson/Documents/Work/csdp/example' |
159 |
|
160 |
|
161 |
-- |
162 |
gentoo-alt@g.o mailing list |