1 |
Hi all! |
2 |
|
3 |
I have a little nasty problem. I am using a couple of fortran progs and not |
4 |
all are happy with ifort but some benefit allot of its use. As I am lazy |
5 |
and dont want to change my make.conf all the time I provided the F77, FC |
6 |
and FLAGS for those packages which support ifort through |
7 |
/etc/portage/env/<categorie>/<package>. This worked for a long time, but |
8 |
now some thing has changed and I dont know what. The variables are still |
9 |
passed to the emerge but the F77 and FC isnt used by emake any more. See |
10 |
following example: ifort is chosen by the fortran.eclass and configure uses |
11 |
it as well. But in the make part only the ifort spezific FFLAGS are use |
12 |
together with gfortran. |
13 |
|
14 |
>>> Emerging (1 of 1) sci-chemistry/shelx-20060317 to / |
15 |
* shelx-20060317.tgz RMD160 SHA1 SHA256 size ;-) ... |
16 |
[ ok ] |
17 |
* checking ebuild checksums ;-) ... |
18 |
[ ok ] |
19 |
* checking auxfile checksums ;-) ... |
20 |
[ ok ] |
21 |
* checking miscfile checksums ;-) ... |
22 |
[ ok ] |
23 |
* checking shelx-20060317.tgz ;-) ... |
24 |
[ ok ] |
25 |
* You need one of these Fortran Compilers: ifc gfortran |
26 |
* Installed are: ifort gfortran |
27 |
* Using ifort |
28 |
>>> Unpacking source... |
29 |
>>> Unpacking shelx-20060317.tgz to |
30 |
/var/tmp/portage/sci-chemistry/shelx-20060317/work |
31 |
* Applying 20060317-autotool.patch ... |
32 |
[ ok ] |
33 |
* Applying 20060317-gfortran.patch ... |
34 |
[ ok ] |
35 |
* Running eautoreconf in |
36 |
'/var/tmp/portage/sci-chemistry/shelx-20060317/work/unix' ... |
37 |
* Running aclocal ... |
38 |
[ ok ] |
39 |
* Running autoconf ... |
40 |
[ ok ] |
41 |
* Running automake --add-missing --copy --foreign ... |
42 |
[ ok ] |
43 |
>>> Source unpacked. |
44 |
>>> Compiling source in |
45 |
/var/tmp/portage/sci-chemistry/shelx-20060317/work/unix ... |
46 |
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man |
47 |
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc |
48 |
--localstatedir=/var/lib FC=ifort --build=i686-pc-linux-gnu |
49 |
checking for a BSD-compatible install... /usr/bin/install -c |
50 |
checking whether build environment is sane... yes |
51 |
checking for a thread-safe mkdir -p... /bin/mkdir -p |
52 |
checking for gawk... gawk |
53 |
checking whether make sets $(MAKE)... yes |
54 |
checking for i686-pc-linux-gnu-gfortran... ifort |
55 |
checking for Fortran compiler default output file name... a.out |
56 |
checking whether the Fortran compiler works... yes |
57 |
checking whether we are cross compiling... no |
58 |
checking for suffix of executables... |
59 |
checking for suffix of object files... o |
60 |
checking whether we are using the GNU Fortran compiler... no |
61 |
checking whether ifort accepts -g... yes |
62 |
checking for i686-pc-linux-gnu-g77... no |
63 |
checking for i686-pc-linux-gnu-xlf... no |
64 |
checking for i686-pc-linux-gnu-f77... no |
65 |
checking for i686-pc-linux-gnu-frt... no |
66 |
checking for i686-pc-linux-gnu-pgf77... no |
67 |
checking for i686-pc-linux-gnu-cf77... no |
68 |
checking for i686-pc-linux-gnu-fort77... no |
69 |
checking for i686-pc-linux-gnu-fl32... no |
70 |
checking for i686-pc-linux-gnu-af77... no |
71 |
checking for i686-pc-linux-gnu-xlf90... no |
72 |
checking for i686-pc-linux-gnu-f90... no |
73 |
checking for i686-pc-linux-gnu-pgf90... no |
74 |
checking for i686-pc-linux-gnu-pghpf... no |
75 |
checking for i686-pc-linux-gnu-epcf90... no |
76 |
checking for i686-pc-linux-gnu-gfortran... i686-pc-linux-gnu-gfortran |
77 |
checking whether we are using the GNU Fortran 77 compiler... no |
78 |
checking whether i686-pc-linux-gnu-gfortran accepts -g... yes |
79 |
configure: creating ./config.status |
80 |
config.status: creating Makefile |
81 |
i686-pc-linux-gnu-gfortran -O3 -march=prescott -openmp -parallel -c -o |
82 |
ciftab.o ciftab.f |
83 |
i686-pc-linux-gnu-gfortran: unrecognized option '-parallel' |
84 |
i686-pc-linux-gnu-gfortran -O3 -march=prescott -openmp -parallel -c -o |
85 |
shelxa.o shelxa.f |
86 |
i686-pc-linux-gnu-gfortran -O3 -march=prescott -openmp -parallel -c -o |
87 |
shelxc.o shelxc.f |
88 |
i686-pc-linux-gnu-gfortran: unrecognized option '-parallel' |
89 |
i686-pc-linux-gnu-gfortran -O3 -march=prescott -openmp -parallel -c -o |
90 |
shelxd.o shelxd.f |
91 |
i686-pc-linux-gnu-gfortran: unrecognized option '-parallel' |
92 |
|
93 |
|
94 |
-- |
95 |
gentoo-user@l.g.o mailing list |