[parsec-users] I was unable to build parsec.canneal parsec.raytrace package of parsec 3.0 with icc on ubuntu 12.04

Kim Jarvis kim.jarvis at tpfsystems.com
Mon Jan 7 11:45:35 EST 2013


I was unable to build parsec.canneal parsec.raytrace package of parsec 
3.0 with icc on ubuntu 12.04

 > parsecmgmt -a run -i native -p parsec.canneal -c icc
atomic/atomic.h(38): catastrophic error: #error directive: Architecture 
not supported by atomic.h
   #  error Architecture not supported by atomic.h
      ^
The problem is that the architecture intel64 is not included in 
atomic.h.  When using an intel core, or similar 64 bit intel processor, 
this error can be "fixed" by applying the following quick and dirty 
patches because amd64 and intel64 are, essentially, the same architecture.

--- 
/home/kim/software/parsec-3.0/pkgs/kernels/canneal/src/atomic/atomic.h    2012-09-05 
03:51:07.000000000 +0100
+++ /home/kim/parsec-3.0/pkgs/kernels/canneal/src/atomic/atomic.h    
2013-01-07 16:11:41.107182126 +0000
@@ -35,7 +35,7 @@
  #elif defined(__alpha__) || defined(__alpha) || defined(alpha) || 
defined(__ALPHA__)
  #  include "alpha/atomic.h"
  #else
-#  error Architecture not supported by atomic.h
+#  include "amd64/atomic.h"
  #endif

  #endif /* _ATOMIC_H_ */

--- 
/home/kim/software/parsec-3.0/pkgs/apps/raytrace/src/RTTL/common/atomic/atomic.h    
2012-09-05 03:55:33.000000000 +0100
+++ 
/home/kim/parsec-3.0/pkgs/apps/raytrace/src/RTTL/common/atomic/atomic.h    
2013-01-07 16:12:10.939181617 +0000
@@ -35,7 +35,7 @@
  #elif defined(__alpha__) || defined(__alpha) || defined(alpha) || 
defined(__ALPHA__)
  #  include "alpha/atomic.h"
  #else
-#  error Architecture not supported by atomic.h
+#  include "amd64/atomic.h"
  #endif

  #endif /* _ATOMIC_H_ */

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20130107/093dedfe/attachment.htm>


More information about the parsec-users mailing list