Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change of petsc repository #12

Open
dorianherle opened this issue Nov 7, 2019 · 2 comments
Open

Change of petsc repository #12

dorianherle opened this issue Nov 7, 2019 · 2 comments

Comments

@dorianherle
Copy link

dorianherle commented Nov 7, 2019

Hi

I am trying to install emopt. While running the install.py file, I got the following error:

Cloning into 'petsc'...
remote: Repository petsc/petsc not found
fatal: repository 'https://bitbucket.org/petsc/petsc/' not found
[Errno 2] No such file or directory: 'petsc'

Upon visiting https://bitbucket.org/petsc/petsc/', it tells me that

the repository "petsc/petsc" has been deleted.It now lives at https://gitlab.com/petsc/petsc.

So I replaced the old address with the new address in install.py and rerun the installation. However, this time, I got:

Checking environment... 
ERROR: cannot process file /home/hamed/.emopt/lib/petsc/conf/petscvariables
ERROR during configure (log file not open yet)
makefile:20: /lib/slepc/conf/slepc_common: No such file or directory
make: *** No rule to make target '/lib/slepc/conf/slepc_common'.  Stop.
makefile:20: /lib/slepc/conf/slepc_common: No such file or directory
make: *** No rule to make target '/lib/slepc/conf/slepc_common'.  Stop.
makefile:20: /lib/slepc/conf/slepc_common: No such file or directory
make: *** No rule to make target '/lib/slepc/conf/slepc_common'.  Stop.

I had a look at #10 and based on that I changed SLEPC_VERSION = "3.12.0" but this did not solve the issue. I still get the same error as before.

Do you know how to solve this ? Any help would be highly appreciated.
Thank you very much !

@anstmichaels
Copy link
Owner

Hi,

It seems to be looking in the wrong place for these installation files. I am not entirely sure why that would happen. As a first attempt at fixing this, can you try deleting the ~/.emopt directory and running install.py again? If that fails again, can you send me more of the script output?

@smhooten
Copy link
Contributor

Hey,

I got this same error when I mistakenly installed mpi4py with anaconda. If you used anaconda, you should conda remove mpi4py and then install with pip (this ensures you use the systemwide mpicc). Then rerun the install script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants