Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Nov 2015 09:45:55 -0553.75
From:      "William A. Mahaffey III" <wam@hiwaay.net>
To:        FreeBSD Questions !!!! <freebsd-questions@freebsd.org>
Subject:   GCC48 question
Message-ID:  <563B7869.4010409@hiwaay.net>

next in thread | raw e-mail | index | archive | help


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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?563B7869.4010409>