GCC48 question

William A. Mahaffey III wam at hiwaay.net
Thu Nov 5 15:40:33 UTC 2015



I am attempting to compile some inhouse code using gcc48 under FreeBSD 
9.3R. The man page describes in detail how to get it to produce 
multi-threaded parallel code (-apo under SGI IRIX (snif), -parallel 
under icc/ifort). When I add those options to my makefile & try to use 
them to compile my code, I get the following:


gcc48 -DNDEBUG -DUNDER_SCORE_SYS -DLOSE_GAMMAL -I../include -I~/inc 
-I../Properties -I../TEST -I../pre  -march=opteron -mtune=opteron -O3 
-floop-strip-mine -floop-blo
ck -fprefetch-loop-arrays -floop-parallelize-all 
-ftree-parallelize-loops=4 -fopt-info -c mpi.c mpprime.c
mpi.c:1:0: sorry, unimplemented: Graphite loop optimizations cannot be 
used (-fgraphite, -fgraphite-identity, -floop-block, -floop-interchange, 
-floop-strip-mine, -fl
oop-parallelize-all, and -ftree-loop-linear)
  /*
  ^
mpprime.c:1:0: sorry, unimplemented: Graphite loop optimizations cannot 
be used (-fgraphite, -fgraphite-identity, -floop-block, 
-floop-interchange, -floop-strip-mine,
  -floop-parallelize-all, and -ftree-loop-linear)
  /*
  ^
*** [../lib/R4/opteron/libmpi.a] Error code 1
1 error
`usual' not remade because of errors.


for each 'arch' tried (opteron, barcelone, etc.). How do I find out how 
to get my gcc48 to use those optimizations ? TIA & have a good one.


-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.



More information about the freebsd-questions mailing list