ylnz7  
                
                  
                    January 13, 2020,  8:14pm
                   
                  1 
               
             
            
              Hello,
I got such errors when compiling the FreeFem++  in ubuntu 18.1:
File “/home/ylnz7/FreeFem-sources/3rdparty/ff-petsc/petsc
what should I do?
             
            
              
            
           
          
            
              
                prj  
              
                  
                    January 13, 2020,  8:40pm
                   
                  2 
               
             
            
              Could you please share your FreeFEM config.log? We are not dispatching the correct options to PETSc configure which makes it crash. Thanks.
You may also want to to compile the develop branch.
             
            
              
            
           
          
            
              
                ylnz7  
              
                  
                    January 14, 2020, 12:09am
                   
                  3 
               
             
            
              Thanks for the reply! Below is the log file I found. Not sure if I truly understand your advice. What do you mean exactly “the develop branch”?  Thanks.
---------------------- 
Running config.status. 
---------------------- 
This file was extended by FreeFEM config.status 4.4-3, which was
CONFIG_FILES    =
on LAPTOP-6I03JEAE
config.status:1202: creating Makefile.inc
---------------------- 
Running config.status. 
---------------------- 
This file was extended by FreeFEM config.status 4.4-3, which was
CONFIG_FILES    =
on LAPTOP-6I03JEAE
config.status:1202: creating Makefile.inc
             
            
              
            
           
          
            
              
                prj  
              
                  
                    January 14, 2020,  5:40am
                   
                  4 
               
             
            
              This is not the full file FreeFem-sources/config.log (it should have around 10k lines of text). To use the develop branch, try git clone -b develop https://github.com/FreeFem/FreeFem-sources. If you don’t have Git, download instead this archive .
             
            
              
            
           
          
            
              
                ylnz7  
              
                  
                    January 14, 2020,  6:50pm
                   
                  5 
               
             
            
              I see. Please check the attached log file.
config.log  (448.0 KB)
             
            
              
            
           
          
            
              
                ylnz7  
              
                  
                    January 14, 2020,  8:35pm
                   
                  6 
               
             
            
              And also I tried the develop branch, it faced the same problems.
             
            
              
            
           
          
            
              
                prj  
              
                  
                    January 14, 2020,  9:10pm
                   
                  7 
               
             
            
              You don’t have BLAS installed on your system. Please install BLAS, then try again.
             
            
              
            
           
          
            
              
                ylnz7  
              
                  
                    January 14, 2020, 10:04pm
                   
                  8 
               
             
            
              I triedhttp://github.com/Reference-LAPACK/lapack 
and ./reconfigure and make check, it gives me the following errors
Makefile:50: recipe for target ‘dggath’ failed
             
            
              
            
           
          
            
              
                prj  
              
                  
                    January 14, 2020, 10:09pm
                   
                  9 
               
             
            
              Could you paste your new config.log, please?
             
            
              
            
           
          
            
              
                prj  
              
                  
                    January 14, 2020, 10:20pm
                   
                  11 
               
             
            
              Where did you install BLAS and LAPACK? It can’t be found by FreeFEM configure.
             
            
              
            
           
          
            
              
                ylnz7  
              
                  
                    January 14, 2020, 10:42pm
                   
                  12 
               
             
            
              I installed it under  home/username/
             
            
              
            
           
          
            
              
                prj  
              
                  
                    January 15, 2020,  8:27pm
                   
                  13 
               
             
            
              Then, you need to pass this information to FreeFEM ./configure. Add -help to see the appropriate options.
             
            
              
            
           
          
            
              
                prj  
              
                  
                    January 16, 2020, 10:22am
                   
                  14 
               
             
            
              Another solution would be to go into FreeFem-sources/3rdparty/blas, do make, and then go back to PETSc compilation.
             
            
              
            
           
          
            
            
              Hello, have you ever solved this problem and what you did? Could you please give some suggestions in detail. Thanks a lot.
             
            
              
            
           
          
            
            
              i have met the same trouble with him. When i complie FreeFEM in CENTOS7 according to README.md step by step.
TESTING: checkLib from config.packages.BlasLapack(config/BuildSystem/c******************************************************************************* 
You set a value for --with-blaslapack-lib=, but [’-lblas’] cannot be used
make: *** [Makefile:210:petsc-3.13.0/tag-conf-real] 错误 1
in centos system.
I find this man had the same problem here, and I haven’t understand what he did for solving this problem.
Did he solve it? And what he did in details?
             
            
              
            
           
          
            
              
                prj  
              
                  
                    April 9, 2020,  8:19am
                   
                  19 
               
             
            
              Could you please share you config.log and 3rdparty/ff-petsc/petsc-3.13.0/configure.log?