Hi Maina, looks like you have not built the program on the cluster. Did you just copy the executable? This will in general not work. You should download and compile/install X10 on the cluster as well. The easiest way would be to build X10 from source (tutorial found here: http://x10-lang.org/x10-development/building-x10-from-source.html). After that, re-compile your program on the cluster and execute it.
Cheers, Marco Am 25.07.2016 um 18:11 schrieb Marina Andric: > > Thanks a lot Marco, this was something I neglected :) the program is > compiling/executing now on my machine. > > 'Im still having a problem on the cluster. I get compilation error stating: > > x10.dist/stdlib/lib/libx10.so: undefined reference to 'memcpy@GLIBC_2.14' > x10.dist/stdlib/lib/libx10.so: undefined reference to > 'clock_gettime@GLIBC_2.17' > > Does somebody know the possible origins of this problem? Do I maybe need > to load some additional modules on the cluster, except gcc and mpi? > > Warm regards, > Marina > > > > > > > > > > > > On Sun, Jul 24, 2016 at 11:48 PM, Marco Bungart <m.bung...@gmx.net > <mailto:m.bung...@gmx.net>> wrote: > > Hi, > > have you tried running "$> ./a.out" instead of "$> a.out"? Some systems > distinguish between system-wide executable (i.e. executable located in > one of the paths specified in the $PATH environment variable) and > executables in the current folder (i.e. "."). > > Cheers, > Marco > > Am 24.07.2016 um 21:22 schrieb Marina Andric: > > Hi all, > > > > I am trying to run an x10 program on a cluster. The cluster supports > > only MPI based communication between nodes so I built the latest x10 > > source (version 2.6.0) with option -DX10RT_MPI=true and the build was > > successful. > > > > My program works when it's compiled to java (via x10c) but it doesn't > > work when it is compiled to c++ (via x10c++). > > > > For example, when > > > >> x10.dist/bin/x10c++ hello.x10 (creates a.out) > >> a.out > > > > the outcome is a.out: command not found. > > > > I tested a bit around, with -o option, -x10rt sockets (mpi) and > nothing > > seemed to change. I eventually built x10 without -DX10RT_MPI=true and > > the problem is the same, also with the x10 version 2.5.4. > > > > I was building and testing on my local linux machine and I checked all > > the program versions and they seem to be ok: > > > > ant 1.9.3 > > g++ 4.8.4 > > > > Can someone please say if I'm missing something? > > > > Thank you, > > Marina > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > What NetFlow Analyzer can do for you? Monitors network bandwidth > and traffic > > patterns at an interface-level. Reveals which users, apps, and > protocols are > > consuming the most bandwidth. Provides multi-vendor support for > NetFlow, > > J-Flow, sFlow and other flows. Make informed decisions using > capacity planning > > reports.http://sdm.link/zohodev2dev > > > > > > > > _______________________________________________ > > X10-users mailing list > > X10-users@lists.sourceforge.net > <mailto:X10-users@lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/x10-users > > > > --- > Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. > https://www.avast.com/antivirus > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and > protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using > capacity planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > X10-users mailing list > X10-users@lists.sourceforge.net <mailto:X10-users@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/x10-users > > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > reports.http://sdm.link/zohodev2dev > > > > _______________________________________________ > X10-users mailing list > X10-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/x10-users > --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users