Jim LaGrone <[email protected]> wrote on 07/17/2009 12:08:31 PM:

> I have installed the X10DT with X10 1.7.5 on my MacBook Pro with OS X 
> v. 10.5.7, which will be fine for developing our codes but I will 
> eventually be running the applications on large systems (clusters and 
> SMPs). I need to use the C++ backend.

Hi, Jim.  Thank you for trying X10.

> I have the
> 
> 1. Is it possible to do the src install on the Mac OS?

Mac OS is not a platform that we regularly test on.  We did run the
C++ backend on Mac OS at some point.  You will not be able to build
the source anyway, because you need the Mac OS build of the PGAS
common runtime, which we are not distributing.  However, your errors
indicate even more basic configuration problems.

> I have 
> attempted this with the x10-1.7.5-src download using the "ant" in the 
> x10.dist directory with the following error:
> 
> BUILD FAILED
> .../x10-1.7.5-src/x10.dist/build.xml:141: The following error occurred 
> while executing this line:
> .../x10-1.7.5-src/x10.runtime.17/build.xml:205: exec returned: 2

This means that you have no "make" in your PATH.

> I'm using Apache Ant version 1.7.1 compiled on June 27 2008.
> 
> 2. I've also tried the x10-1-1.7.5_linux_x86 which allows me to 
> compile and execute code with the Java backend, but x10c++ yields 
> verbose output with the following:
> 
> x10c++: Unknown platform 'macosx_x86'; using the default post-compiler 
> (g++)
> .....
> 1: error: ?assert? was not declared in this scope
> x10c++: Non-zero return code: 1
> 2 errors.

I don't know what the second error is -- the "unknown platform" is just
a warning.  However, the missing "assert" means that the include files
don't do what we expect.  Could you please provide the full output of

x10c++ -v -report postcompile=1 YOURFILE.x10

?  Which Linux version are you running this command on?
        Igor
-- 
Igor Peshansky  (note the spelling change!)
IBM T.J. Watson Research Center
XJ: No More Pain for XML's Gain (http://www.research.ibm.com/xj/)
X10: Parallel Productivity and Performance (http://x10.sf.net/)


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
X10-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to