Hello,

Thanks a lot for your help. What do I have to change in order to make it work 
again?

Best regards,

Joauma

De : Matthew Knepley <knep...@gmail.com>
Date : mercredi, 31 mai 2023 à 12:55
À : Joauma Marichal <joauma.maric...@uclouvain.be>
Cc : PETSc <petsc-ma...@mcs.anl.gov>, petsc-users@mcs.anl.gov 
<petsc-users@mcs.anl.gov>
Objet : Re: [petsc-maint] Error during compile
On Wed, May 31, 2023 at 6:34 AM Joauma Marichal 
<joauma.maric...@uclouvain.be<mailto:joauma.maric...@uclouvain.be>> wrote:
Hello,

Thanks a lot, it worked. However my code does not compile anymore (I haven’t 
changed anything since yesterday and it worked then). I get the following error:

It looks like your Homebrew has changed. In particular, the gcc 12.2.0 is 
missing, and presumably that is where libgfortran was.

  Thanks,

     Matt


 -L/opt/homebrew/Cellar/gcc/12.2.0/lib/gcc/current -lpetsc -lHYPRE -lflapack 
-lfblas -lc++ -lmpifort -lmpi -lpmpi -lgfortran -lemutls_w -lquadmath -lc++

ld: warning: directory not found for option 
'-L/opt/homebrew/Cellar/mpich/4.1/lib'

ld: warning: directory not found for option 
'-L/opt/homebrew/Cellar/gcc/12.2.0/lib/gcc/current/gcc/aarch64-apple-darwin22/12'

ld: warning: directory not found for option 
'-L/opt/homebrew/Cellar/gcc/12.2.0/lib/gcc/current/gcc'

ld: warning: directory not found for option 
'-L/opt/homebrew/Cellar/gcc/12.2.0/lib/gcc/current'

ld: library not found for -lgfortran

clang: error: linker command failed with exit code 1 (use -v to see invocation)


I attach the complete log file.

Thanks a lot for your help.

Best regards,

Joauma

De : Matthew Knepley <knep...@gmail.com<mailto:knep...@gmail.com>>
Date : mercredi, 31 mai 2023 à 12:03
À : Joauma Marichal 
<joauma.maric...@uclouvain.be<mailto:joauma.maric...@uclouvain.be>>
Cc : PETSc <petsc-ma...@mcs.anl.gov<mailto:petsc-ma...@mcs.anl.gov>>, 
petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov> 
<petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov>>
Objet : Re: [petsc-maint] Error during compile
On Wed, May 31, 2023 at 5:25 AM Joauma Marichal 
<joauma.maric...@uclouvain.be<mailto:joauma.maric...@uclouvain.be>> wrote:
Hello,

I am writing to you as I am trying to compile petsc on my mac.

I used:
$ export 
PATH=/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/munki
$ ./configure --download-fblaslapack --download-hypre 
--prefix=../marha/lib_petsc

This is a bug in make 4.4.1. Either upgrade to the latest PETSc release or

  make OMAKE_PRINTDIR=make all

  Thanks,

     Matt

Which has worked previously but today, I get:


**************************ERROR*************************************

  Error during compile, check arch-darwin-c-debug/lib/petsc/conf/make.log

  Send it and arch-darwin-c-debug/lib/petsc/conf/configure.log to 
petsc-ma...@mcs.anl.gov<mailto:petsc-ma...@mcs.anl.gov>

********************************************************************


I attach the files.

Thanks a lot for your help.

Best regards,

Joauma





--
What most experimenters take for granted before they begin their experiments is 
infinitely more interesting than any results to which their experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/<http://www.cse.buffalo.edu/~knepley/>


--
What most experimenters take for granted before they begin their experiments is 
infinitely more interesting than any results to which their experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/<http://www.cse.buffalo.edu/~knepley/>

Reply via email to