-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Hi, I’m having some issues during the installation. The compilation ran well “python3 -m pip install ./build_pyoptsparse
”. However, this is the output from the terminal after running buildpyoptsparse command:
(av1) nathan@Nathan:~/packages$ build_pyoptsparse
Checking for conda-forge... WARNING: The conda-forge channel is not configured, cannot install conda packages. Falling back to building from source.
------------------------ Relevant environment variables -----------------------
CONDA_PREFIX: /home/nathan/miniconda3/envs/av1
------- Testing build environment functionality. Can be skipped with -k. ------
Using $CONDA_PREFIX for install prefix
Changed directory to /tmp/tmp8v8969c1
Testing gcc... OK
Testing g++... OK
Testing gfortran... OK
Changed directory back to /home/nathan/packages
Changed directory to /tmp/tmpduoj9phn
Checking for library: lapack... OK
Changed directory back to /home/nathan/packages
Changed directory to /tmp/tmp4xjn8131
Checking for library: blas... OK
Changed directory back to /home/nathan/packages
Changed directory to /tmp/tmpzivypum4
Checking for library: openblas... OK
Changed directory back to /home/nathan/packages
---------------------------- Beginning installation ---------------------------
----------------------- Building METIS from source code -----------------------
Cloning https://github.com/coin-or-tools/ThirdParty-Metis.git... OK
Changed directory to /tmp/tmp1mavn839
Checking out branch releases/2.0.0... Running configure... OK
Building... OK
Installing... OK
Changed directory back to /home/nathan/packages
----------------------- Building MUMPS from source code -----------------------
Cloning https://github.com/coin-or-tools/ThirdParty-Mumps.git... OK
Changed directory to /tmp/tmp04f8snra
Checking out branch releases/3.0.2... Running configure... Traceback (most recent call last):
File "/home/nathan/.local/bin/build_pyoptsparse", line 8, in
sys.exit(perform_install())
File "/home/nathan/.local/lib/python3.10/site-packages/build_pyoptsparse.py", line 1329, in perform_install
install_with_mumps()
File "/home/nathan/.local/lib/python3.10/site-packages/build_pyoptsparse.py", line 808, in install_with_mumps
install_mumps()
File "/home/nathan/.local/lib/python3.10/site-packages/build_pyoptsparse.py", line 803, in install_mumps
install_mumps_from_src()
File "/home/nathan/.local/lib/python3.10/site-packages/build_pyoptsparse.py", line 710, in install_mumps_from_src
run_cmd(cmd_list=cnf_cmd_list)
File "/home/nathan/.local/lib/python3.10/site-packages/build_pyoptsparse.py", line 406, in run_cmd
raise inst
File "/home/nathan/.local/lib/python3.10/site-packages/build_pyoptsparse.py", line 401, in run_cmd
result = subprocess.run(cmd_list, check=do_check, capture_output=True, text=True)
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['./configure', '--with-metis', '--with-metis-lflags=-L/home/nathan/miniconda3/envs/av1/lib -lcoinmetis -lm', '--with-metis-cflags=-w -I/home/nathan/miniconda3/envs/av1/include -I/home/nathan/miniconda3/envs/av1/include/coin-or -I/home/nathan/miniconda3/envs/av1/include/coin-or/metis', '--prefix=/home/nathan/miniconda3/envs/av1', 'CFLAGS=-w -I/home/nathan/miniconda3/envs/av1/include -I/home/nathan/miniconda3/envs/av1/include/coin-or -I/home/nathan/miniconda3/envs/av1/include/coin-or/metis', 'FCFLAGS=-fallow-argument-mismatch -w -I/home/nathan/miniconda3/envs/av1/include -I/home/nathan/miniconda3/envs/av1/include/coin-or -I/home/nathan/miniconda3/envs/av1/include/coin-or/metis']' returned non-zero exit status 1.
I guess the main problem is with MUMPS installation. I’m using Windows 11.