I get a problem in running example of GPMR (a MapReduce framework). I have successfully compiled the examples contained in the framework. But when I run the examples, I get the following error:
Fatal error in MPI_Comm_rank: Invalid communicator, error stack:
MPI_Comm_rank(106): MPI_Comm_rank(comm=0x8099680, rank=0x97ba5c8) failed
MPI_Comm_rank(64).: Invalid communicator
The commands I issued include "./matmul", "mpiexec -np 2 ./matmul", "mpirun -np 2 ./matmul", where "matmul" is a binary file of a matrix multiply example. and all of them have the same error.
Your answer would be highly appreciated. I am looking forward to your helpful advice.
Regards,
Jay
I've solved the problem by compiling the program via the same mpicxx. Previously, I compiled a lib by ...\bin\mipcxx, while the program via mpicx. That is the problem.
Related
My code throws the error:
Could not connect to libvirt.
The end of the file was reached when reading the data: sh: nc: command not found: I / O error
Make sure that the remote The node is running libvirtd.
You should be able to do this with OpenVZ 7, I do not believe it is possible with any other version of OpenVZ.
If you continue having issues, providing additional information such as your OpenVZ kernel version and how you arrived at the error you previously posted, would be helpful.
I'm trying to get octave to execute a 2-way sub-process, in order to communicate with the shell 'online', while processing data acquired from the shell.
the normal popen is not good for me because it waits for the sub-process to return before i'm able to process the data.
So I tried all kinds of ways, and I've read the octave example for using popen2("sort"), but it didn't help me to get popen2("unix") working.
The error I get is:
error: popen2: popen2 (child): unable to start process -- No such file or directory*
I get this error for other popen2 commands such as popen2("help"). Maybe I'm missing something out.
The error message
error: popen2: popen2 (child): unable to start process -- No such file or directory*
tries to tell you, that there is no command or program "unix". Which OS are you using and why are you expecting that there is a command "unix" available? Btw, have you had a look at system?
If you really want a two way communication with a shell try
[in, out, pid] = popen2 ("bash");
I am trying to run the MIT project CryptoDB. I have downloaded it and I have followed the instructions to compile as it is explained in the included instructions, for mysql-proxy and mysql version 5.5.14. I am using a RedHat Enterprise 6 server.
When I get to the point of running the make command i get this error:
Building CXX object sql/CMakeFiles/sql.dir/sql_lex.cc.o
In file included from /soft/mysql-5.5.14/build/sql/lex_hash.h:25,
from /soft/mysql-5.5.14/sql/sql_lex.cc:113:
/soft/mysql-5.5.14/sql/lex.h:193: error: ‘ENC_SYM’ was not declared in this scope
/soft/mysql-5.5.14/sql/lex.h:623: error: too many initializers for ‘SYMBOL’
make[2]: *** [sql/CMakeFiles/sql.dir/sql_lex.cc.o] Error 1
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
make: *** [all] Error 2
I am quite lost as I cannot find if there is a missing library or any kind of incompatbility on what I am using. Any ideas?
Even i have not finished installation now I now that the problem comes from not having the last version of the code. By getting it with the following command:
git clone -b public git://g.csail.mit.edu/cryptdb
I get to execute an instalation script in ruby that performs the work.
The script is not writen especifically for Redhat, so I am having some work adapting some commands (apt-get => yum).
I'm trying to run nvprof profiler to see where my program is spending more time.
But i always get this error:
======== NVPROF is profiling gpu_stuff...
======== Command: gpu_stuff
======== Error: Internal profiler error 15:120======== Warning: Application returned non-zero code 255
======== Error: failed to read result file.
======== Warning: make sure cudaDeviceReset() is called before application exit to flush profile data.
I'm calling cudaDeviceReset() at the end of code and it is not working yet.
Obs: I have no X-server disponible, i need to use the profiler in command-line.
Thanks to Yu Zhou
It's because of your CUDA toolkit version not compatible with your driver version.
I Have in my Mac:
Octave-3.4.0
Gnuplot 4.2 - that I had to install because I had problems plotting - it wouldn't plot at all.
I need to load a netcdf file, the error that came was:
nc = netcdf('/users/matheuscortezi/Desktop/Pcse005/ocean_avg.nc', 'r')
error: `netcdf' undefined near line 9 column 6
So I think I don't have the netcdf comand installed, and tried installing by typing this on octave:
pkg install -global -forge octcdf
The error message that I receive from that is:
configure: error: in `/var/tmp/oct-t8XcYD/octcdf/src':
configure: error: C compiler cannot create executables
See `config.log' for more details.
the configure script returned the following error: checking for gcc... /usr/bin/gcc-4.2
checking whether the C compiler works... no
error: called from `pkg>configure_make' in file /Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/pkg/pkg.m near line 1325, column 9
error: called from:
error: /Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/pkg/pkg.m at line 783, column 5
error: /Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/pkg/pkg.m at line 354, column 9
I haven't the faintest idea about what I should do. How can I solve this problem with either:
fixing this error, or
installing a netcdf "comand pack" (i don't know the name for that) so I can use netcdf() as in the example given.
Hope I was clear enough.
It seems to me that you installed Octave from the Mac OSX App bundle. That is not recommended at all. You should install from one of the package managers as explained on Octave's wiki. As far as I know, there are 3 options for Mac (see previous link). Just search for one that also has the netcdf package.
Anyway, if you really don't want to install it through a package manager (but seems to me you really should), seems that your problem lies on gcc (the GNU C compiler). do you have it installed at all? Some packages have code in C++ or C and are also dependent on some external libraries.
EDIT using a package manager would have also solved your problem about plotting since it would install gnuplot at same time