... | @@ -2,22 +2,45 @@ If you encounter any error, please check the FAQ. For other problems, you can cr |
... | @@ -2,22 +2,45 @@ If you encounter any error, please check the FAQ. For other problems, you can cr |
|
|
|
|
|
## mpi4pi fails to install
|
|
## mpi4pi fails to install
|
|
|
|
|
|
During the installation of NES using pip, you might get the following error:
|
|
During the installation of NES using pip, you might get the following errors:
|
|
|
|
|
|
|
|
### Missing the MPICH or Open MPI development package
|
|
|
|
```
|
|
|
|
compilation terminated.
|
|
|
|
failure.
|
|
|
|
removing: _configtest.c _configtest.o
|
|
|
|
error: Cannot compile MPI programs. Check your configuration!!!
|
|
|
|
Installing mpi4py requires a working MPI implementation.
|
|
|
|
If you are running on a supercomputer or cluster, check with
|
|
|
|
the system administrator or refer to the system user guide.
|
|
|
|
Otherwise, if you are running on a laptop or desktop computer,
|
|
|
|
your may be missing the MPICH or Open MPI development package:
|
|
|
|
* On Fedora/RHEL systems, run:
|
|
|
|
$ sudo dnf install mpich-devel # for MPICH
|
|
|
|
$ sudo dnf install openmpi-devel # for Open MPI
|
|
|
|
* On Debian/Ubuntu systems, run:
|
|
|
|
$ sudo apt install libmpich-dev # for MPICH
|
|
|
|
$ sudo apt install libopenmpi-dev # for Open MPI
|
|
|
|
[end of output]
|
|
|
|
note: This error originates from a subprocess, and is likely not a problem with pip.
|
|
|
|
ERROR: Failed building wheel for mpi4py
|
|
|
|
Building wheel for findlibs (setup.py) ... done
|
|
|
|
Created wheel for findlibs: filename=findlibs-0.0.5-py3-none-any.whl size=6939 sha256=27532346a722358a057f34e325f32835b410b8ebf089a9dabc7403c1eb684253
|
|
|
|
Stored in directory: /home/bscuser/.cache/pip/wheels/e5/eb/3a/fc9bb01081f51631725acecba7bbfcdd14a53765635ffe11f5
|
|
|
|
Successfully built nes findlibs
|
|
|
|
Failed to build mpi4py
|
|
|
|
ERROR: Could not build wheels for mpi4py, which is required to install pyproject.toml-based projects
|
|
|
|
```
|
|
|
|
|
|
|
|
In this case, do as instructed. For example, if you are a Debian/Ubuntu user, you can try installing mpich and NES again:
|
|
|
|
```
|
|
|
|
sudo apt install libmpich-dev
|
|
|
|
pip install nes
|
|
|
|
```
|
|
|
|
|
|
|
|
### compiler_compat error
|
|
```
|
|
```
|
|
...
|
|
...
|
|
/home/avilanov/anaconda3/compiler_compat/ld: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_bitmap_clear_bit'
|
|
|
|
/home/avilanov/anaconda3/compiler_compat/ld: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_bitmap_t_class'
|
|
|
|
/home/avilanov/anaconda3/compiler_compat/ld: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_info_set_value_enum'
|
|
|
|
/home/avilanov/anaconda3/compiler_compat/ld: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hash_table_get_first_key_uint32'
|
|
|
|
/home/avilanov/anaconda3/compiler_compat/ld: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_component_list_item_t_class'
|
|
|
|
/home/avilanov/anaconda3/compiler_compat/ld: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_infosubscribe_change_info'
|
|
|
|
/home/avilanov/anaconda3/compiler_compat/ld: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_info_register_framework_params'
|
|
|
|
/home/avilanov/anaconda3/compiler_compat/ld: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_framework_open'
|
|
|
|
/home/avilanov/anaconda3/compiler_compat/ld: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_session_dir_cleanup'
|
|
|
|
/home/avilanov/anaconda3/compiler_compat/ld: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_info_show_opal_version'
|
|
|
|
/home/avilanov/anaconda3/compiler_compat/ld: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_datatype_add'
|
|
|
|
/home/avilanov/anaconda3/compiler_compat/ld: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_class_finalize'
|
|
|
|
/home/avilanov/anaconda3/compiler_compat/ld: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_var_group_get_count'
|
|
|
|
/home/avilanov/anaconda3/compiler_compat/ld: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_datatype_resize'
|
|
/home/avilanov/anaconda3/compiler_compat/ld: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_datatype_resize'
|
|
/home/avilanov/anaconda3/compiler_compat/ld: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hash_table_set_value_uint64'
|
|
/home/avilanov/anaconda3/compiler_compat/ld: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hash_table_set_value_uint64'
|
|
/home/avilanov/anaconda3/compiler_compat/ld: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `MPIR_being_debugged'
|
|
/home/avilanov/anaconda3/compiler_compat/ld: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `MPIR_being_debugged'
|
... | | ... | |