Error while installing Boost MPI on macOS - boost

I'm trying to install boost mpi from boost 1_78_0 on macOS, but I'm getting this error:
error: Unable to find file or target named
error: '/mpi//mpi'
error: referred to from project at
error: 'libs/mpi/build'
I've tried various different entries in my project-config.jam:
using mpi ;
using mpi : /Users/nick/sfw/openmpi-4.1.2/bin/mpicxx ;
and putting the mpi bin directory in my PATH. I've run ./b2 with debugging output and it looks like my mpicxx is being used, but I'm still getting the error. I've installed this successfully many times on linux using the using mpi directive without a problem.
thanks.

Related

Problem installing omni compiler - fatal error: mpi.h: No such file or directory

I am trying to install omni compiler in order to compile XcalableMP programs on OSX. I can ./configure successfully as per the instructions but am receiving this error when I make:
../include/xmp_internal.h:19:10: fatal error: mpi.h: No such file or directory
My Open MPI is installed via homebrew and mpi.h is located through my Cellar folder. How do I go about including this header file?
can you try the following command to be sure the location of the installed openmpi is correct:
mpicc -showme
Then, are you sure the mpi path is in your path, try to set these environment variables and then try:
Note that I assume the openmpi is installed in "/home/openmpi" path for example:
export PATH=/home/opempi/bin:/home/opempi/include:$PATH
and for the runtime:
export LD_LIBRARY_PATH=/home/openmpi/lib:$LD_LIBRARY_PATH
Then try to configure and make again the omnicomppiler,

ESPAsyncWebServer.h with esp32

I am new to esp32 programming. I wanted to try to make a server.
I tried to use the ESPAsyncWebServer library.
I got this error
In file included from C:\Users\User\Documents\Arduino\server\server.ino:2:0:
Multiple libraries were found for "WiFi.h"
sketch\ESPAsyncWebServer.h:33:22: fatal error: AsyncTCP.h: No such file or directory
Used: C:\Users\User\Documents\ArduinoData\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi
compilation terminated.
Not used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86__mdqgnx93n4wtt\libraries\WiFi
exit status 1
Error compiling for board ESP32 Wrover Module.
Can someone help me and tell me what is the correct way to install liberals because I have a feeling that I am doing it wrong.
Your compile error says that you are lacking the AsyncTCP library. You can find it here: https://github.com/me-no-dev/AsyncTCP
You will need to install both libraries ESPAsyncTCP and ESPAsyncWebServer, since the latter is dependant on the first.
You can install them by:
Downloading the zip files from github:
https://github.com/me-no-dev/ESPAsyncWebServer
https://github.com/me-no-dev/ESPAsyncTCP
In your Arduino IDE go to Sketch > Include Library > ZIP-Library and select the libraries you just downloaded.

ScaLapack installation fails with its auto installer package on Centos7 but it succeeds on Centos 6.7. Why?

I am trying to install the ScaLAPACK with the help of Python-based installer available at http://www.netlib.org/scalapack/scalapack_installer.tgz on CentOS 7(64bit). It is installing successfully but failing in test routines step and showing the error. how to fix it?
The command used for the compilation is as follows:
./setup.py --prefix=/home/tools/scalapack --blaslib="-L/usr/lib64 -lblas" --lapacklib="-L/usr/lib64 -llapack -lblas" --mpiincdir=/opt/apps/mpich32/include --fcflags="-fbounds-check" --mpirun=mpirun --mpicc=mpicc --mpif90=mpif90
The process description is as follows
Installing scalapack-2.0.2 ...
Writing SLmake.inc... done.
Compiling BLACS, PBLAS and ScaLAPACK... done
Getting ScaLAPACK version number... 2.0.1
Installation of ScaLAPACK successful.
(log is in /home/tools/scalapack_installer/build/log/scalog )
Compiling test routines... done
Running BLACS test routines... done
Running PBLAS test routines...
PBLAS: error running PBLAS test routines xcpblas2tst
PBLAS: Command mpirun -np 4 ./xcpblas2tst
stderr:
****************************************
At line 1 of file ctzpad.f
Fortran runtime error: Actual string length is shorter than the declared one for dummy argument 'herm' (-960965440/1)

install x11 in mac 10.10.1

I am trying to run a program in this system.
There is a makefile in the package. And I also need X11 to run it, so I have installed xQuarts,and add all the (potentially) useful path to the PATH.
when I type "$PATH" in the terminal,
it shows:
-bash:
/Library/Frameworks/Python.framework/Versions/3.4/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin: No such file or directory
I used "make all" in my source code package, it result in the following error:
./Xlibext.c:2:10: fatal error: 'X11/Xlib.h' file not found
#include "X11/Xlib.h"
^
1 error generated.
I have reviewed some other posts, but I couldn't find a solution yet. Can anyone help?

Error building openssl-sys crate on Windows

I am trying to compile a Rust program on Windows, but I get this error message:
Compiling openssl-sys v0.6.4
failed to run custom build command for `openssl-sys v0.6.4`
[...]
failed to execute command: The system couldn't find the specified file. (os error 2)
Is `gcc` not installed? (see https://github.com/alexcrichton/gcc-rs#windows-notes for help)
--- stderr
thread '<main>' panicked at 'explicit panic', C:\Users\User\.cargo\registry\src\github.com-0a35038f75765ae4\gcc-0.3.12\src\lib.rs:510
Cargo compiled every other package without problem, but it can't compile the openssl package.
I searched for help with this specific error and found a github issue for hyperium. The first answer references the openssl building guide for Windows.
I don't understand exactly how I have to build openssl in Windows. I installed MinGW and added the bin path to the global PATH variable, so gcc is reachable, but this did not solve the error.
I use Rust 1.2 and Cargo 0.4.0. My project is an example for a Telegram API wrapper.
1) Download ssl
Installs Win32 OpenSSL v1.0.2d
Install it here: C:\OpenSSL-Win32,C:\OpenSSL-Win32\include,C:\OpenSSL-Win32\lib
2) Install MinGW,and add system env path ,,C:\MinGW\bin,important,MinGW's installed path contain char 'MinGW '
3) cmd run env OPENSSLLIBDIR=C:/OpenSSL-Win32/lib OPENSSLINCLUDEDIR=C:/OpenSSL-Win32/include cargo build

Resources