After successfully build my c++ program using boost mpi library in a super computer resource. I failed to run my program:
login2.stampede(23)$ ./polytope
LiMIC: (limic_open) file open fail
[unset]: aborting job:
Fatal error in MPI_Init:
Other MPI error, error stack:
MPIR_Init_thread(436)....:
MPID_Init(371)...........: channel initialization failed
MPIDI_CH3_Init(335)......:
MPIDI_CH3I_SMP_Init(1723): LiMIC2 device does not exist: No such file or directory
Does anyone has any hint on what is possibly happening? Thank you.
Related
In my header file for a pawn I'm attempting to declare an RPC. The following compiles properly:
UFUNCTION( ) void ClientSetPosition(FTransform position);
Yet this does not compile:
UFUNCTION( Client ) void ClientSetPosition(FTransform position);
I Get the following error:
UnrealHeaderTool failed for target 'MultiEditor' (platform: Win64, module info: C:\Users\myself\Documents\Unreal Projects\Multi\Intermediate\Build\Win64\MultiEditor\Development\MultiEditor.uhtmanifest, exit code: OtherCompilationError (5)).
The command ""C:\Program Files\Epic Games\UE_4.21\Engine\Build\BatchFiles\Build.bat" MultiEditor Win64 Development "C:\Users\myself\Documents\Unreal Projects\Multi\Multi.uproject" -WaitMutex -FromMsBuild" exited with code 5. Please verify that you have sufficient rights to run this command.
Any thoughts on why this might be the case?
The following resolved the issue:
UFUNCTION( Client, Reliable)
They must have updated unreal to require this variable.
I'm trying to compile code (link) accompanying "Artificial Intelligence for Games" by Millington in Windows.
Their readme suggests using scons to compile but it comes up with error:
scons *** No SConstruct file found.
File "C:\Python27\Lib\site-packages\scons-2.5.1\SCons\Script\Main.py:, line 912, in_main
I even tried cmake gui but when I tried building the solution there is this error:
error MSB6006: "cmd.exe" exited with code 1.
and
The process cannot access the file 'C:\Users\user\Downloads\aicore-master\aicore-master\build\c03_pipeline.dir\Debug\c03_pipeline.tlog' because it is being used by another process.
They have already provided binaries but I want to compile it for learning purposes. It doesn't matter to me what way I compile it.
Disclaimer: I am new here, I've done my best to follow the posting guidelines so please let me know if this needs any extra information. I am also relatively new to Linux development.
Background:
I am in the process of building a library using ActiveMQ-cpp on Linux. I have built and run it successfully on the host Ubuntu PC, but attempting to cross-compile it for the target ARM-based machine is producing some very abstruse errors.
The first step involves building APR (http://apr.apache.org/) using the arm-linux-gcc compiler. After some research, the following command runs the configuration script with little fuss:
CC=/usr/local/arm-linux/bin/arm-linux-gcc ./configure --prefix=/root/apr-arm --host=arm-linux cross_compiling=yes ac_cv_file__dev_zero=no ac_cv_func_setpgrp_void=no apr_cv_tcp_nodelay_with_cork=no apr_cv_process_shared_works=no
This allows the next step - running the makefile.
Current Issue: Entering make on the command line exits prematurely at the following line:
[...]
/root/.local/share/Trash/files/apr-1.5.1/build/mkdir.sh include/private
tools/gen_test_char > include/private/apr)escape_test_char.h
/bin/bash: tools/gen_test_char: cannot execute binary file
make[1]: *** [include/private/apr_escape_test_char.h] Error 126
make[1]: Leaving directory `/root/.local/share/Trash/files/apr-1.5.1'
make: *** [all-recursive] Error 1
Attempted Fixes: A solution to the following question, posted by the asker, has not worked. It is possible that I've not followed the process correctly (Apache Cross Compilation Error ./gen_test_char: cannot execute binary file)
In the same theme, I tried temporarily removing the problem gen_test_char program from its directory but the clever script just rebuilds it.
My aim is to either avoid this error and continue the build process on Ubuntu, or perhaps consider other means of building the library. I have built it with no trouble in VS2013 on Windows, so if it is possible to cross compile that project for ARM architectures I would happily go ahead with that.
APR need gen_test_char to be compiled for system not for arm, why you got "bin/bash: tools/gen_test_char: cannot execute binary file" error because make program is going to execute gen_test_char on your system and if you cross compile then every time you got this error.
To avoid this error please follow below steps:
1) Cross compile APR which is going to fail
2) compile APR for system and copy gen_test_char to cross compiled APR's directory.
3) Again cross compile
After performing above steps you should not get "cannot execute binary file" error.
Cross compile APR which is going to fail
compile APR for system and copy gen_test_char to cross compiled APR's directory.
change the name of gen_test_char to gen_test_char_host
in Makefile file change the name of gen_test_char to gen_test_char_host because make creates it again.
Again cross compile
you may see some struct redefinition which needs to find the file and comment the redefined struct manually.
I am running a program on linux fedora in debug mode. And I get the error message
Startup Warning : Failed to open up profile at "/.txr/tix.conf"
I wanted to know what the location of of the tix file should be . I tried putting it in
Debug/txr/tix.conf
However that does not work as the program complains about the same thing. Any suggestions ?
I'm creating my first unit test (google test) in C++ using Netbeans. I have followed the official tutorial but I keep running into an error when hit the test button.
The error:
fatal error - error while loading shared libraries:
/cygdrive/E/softwares_n_studies/Netbeans/installed/NetBeans_7.3.1/ide/bin/nativeexecution/Windows-x86/unbuffer.dll:
cannot open shared object file: Exec format error
What does this error mean and how can I fix it?
Go to the properties of you project->run->Console Type and change to External Terminal.