Hello,
I am trying to install petsc and slepc with pamac, but apparently my mpi compiler can’t be found. I do have mpicc installed (/usr/bin), but for some reason that doesn’t seem good enough. Unfortunately I am unable to edit the build files to point to the correct compiler with pamac. I find this behavior a bit odd:
sudo pamac build petsc
Warning: Building packages as dynamic user
Warning: Setting build directory to /var/cache/pamac
Preparing...
Cloning petsc build files...
Running as unit: run-p16669-i16969.service
fatal: not a git repository (or any parent up to mount point /var/cache/private)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Finished with result: exit-code
Main processes terminated with: code=exited, status=128/n/a
Service runtime: 41ms
CPU time consumed: 12ms
Memory peak: 1.9M (swap: 0B)
Running as unit: run-p16675-i16975.service
Finished with result: success
Main processes terminated with: code=exited, status=0/SUCCESS
Service runtime: 220ms
CPU time consumed: 179ms
Memory peak: 1.9M (swap: 0B)
Running as unit: run-p16681-i16981.service
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Finished with result: success
Main processes terminated with: code=exited, status=0/SUCCESS
Service runtime: 346ms
CPU time consumed: 59ms
Memory peak: 4.7M (swap: 0B)
Generating petsc information...
Running as unit: run-p16695-i16995.service
Finished with result: success
Main processes terminated with: code=exited, status=0/SUCCESS
Service runtime: 1.111s
CPU time consumed: 1.288s
Memory peak: 7M (swap: 0B)
Checking petsc dependencies...
Resolving dependencies...
Checking inter-conflicts...
To build (1):
petsc 3.22.3-1 AUR
Edit build files : [e]
Apply transaction ? [e/y/N]
When I press “e”, edit the compile flags and save the files the following happens:
Cloning petsc build files...
Running as unit: run-p18793-i19093.service
fatal: not a git repository (or any parent up to mount point /var/cache/private)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Finished with result: exit-code
Main processes terminated with: code=exited, status=128/n/a
Service runtime: 35ms
CPU time consumed: 9ms
Memory peak: 1.9M (swap: 0B)
Running as unit: run-p18799-i19099.service
Finished with result: success
Main processes terminated with: code=exited, status=0/SUCCESS
Service runtime: 47ms
CPU time consumed: 11ms
Memory peak: 1.9M (swap: 0B)
Running as unit: run-p18805-i19105.service
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Finished with result: success
Main processes terminated with: code=exited, status=0/SUCCESS
Service runtime: 341ms
CPU time consumed: 61ms
Memory peak: 5.4M (swap: 0B)
Generating petsc information...
Running as unit: run-p18819-i19119.service
Finished with result: success
Main processes terminated with: code=exited, status=0/SUCCESS
Service runtime: 1.143s
CPU time consumed: 1.354s
Memory peak: 6.9M (swap: 0B)
Checking petsc dependencies...
Resolving dependencies...
Checking inter-conflicts...
To build (1):
petsc 3.22.3-1 AUR
Edit build files : [e]
Apply transaction ? [e/y/N]
What am I missing here?