-
Notifications
You must be signed in to change notification settings - Fork 3
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
Problem with PETSC_DIR #2
Comments
question updated. |
What's the output of the following two commands?
Did you check the permissions of all the intermediate folders? I'm a bit clueless about what could be going on. |
I tried to install again from scratch and the outputs are: echo $PETSC_DIR: |
There is the problem, your export PETSC_DIR=/home/omid/petsc-3.18.2
export PETSC_ARCH=arch-linux-c-debug |
It's so strange! I did but I get the same error! (base) omid@omid-HP: |
You did not tell me precisely what you were exactly doing. Originally, you told me you were doing "make all", but now you say "sudo make all". The problem is because you using |
The reason for using sudo was the stop, caused by authentication issues. But I forgot to avoid it after I fixed the permissions. My bad! Now make all worked and is fixed. Thanks a lot buddy. But when I run make test I get this error that I paste down below. Do you have any advice in that regard? I appreciate your help buddy. |
Sorry, totally my fault. As I'm not keeping a close watch on PetIGA, some changes in PETSc 3.18 broke things. I just pushed the required fixes. Please |
Thanks buddy, I tried to do but it returns another error: [>] runex1 ..............[1]PETSC ERROR: --------------------- Error Message -------------------------------------------------------------- |
That’s the test regression I was talking about. Other tests are OK. I’m not sure when I’ll have time to debug the issue. I think you should be good to go. Please ignore these test failure for now and move on. @stefanozampini This regression is related to MATIS. Are you aware of any recent changes that may have triggered it? |
Hello there,
I have compiled PETSC and followed the instruction to set the PETSC_DIR. But when I run "make all" command in PetIGA directory I get this error:
/home/omid/PetIGA/lib/petiga/conf/variables:6: *** Incorrect PETSC_DIR: . Stop.
I checked the variables file in lib/petiga/conf folder, which makes this error. It seems that the file can not read the data at all. e.g. when I check the DIR, it echos correctly, but when I run make command it pops up that error. I defined the DIR manually in the variables file, it goes ahead till it reaches to lib/petiga/conf/variables:45: *** Incorrect PETSC_ARCH: /home/omid/Desktop/Program/petsc-3.18.2/arch-linux-c-debug. Stop. According to line 45, if the petscconf.h is missing, it has to print this error. The file is there! It seems that this error comes from disability of reading the data from PETSC folder. I checked the permissions, it's OK. Do you have any advice for me?
Thanks and regards,
Omid
The text was updated successfully, but these errors were encountered: