Solveig Bruvoll wrote:
> Johannes Ring wrote:
>   
>> On Mon, March 31, 2008 Solveig Bruvoll wrote:
>>   
>>     
>>> It seems to choose c++. The new output:
>>>
>>> [EMAIL PROTECTED] dolfin]# scons
>>> scons: Reading SConscript files ...
>>> Checking for numpy-1... yes
>>> Checking for scotch... no (pkg-config file not found)
>>> Trying to generate pkg-config file for scotch... failed
>>> *** Unable to generate a suitable pkg-config file for scotch.
>>> *** If scotch is present on your system, try setting the SCOTCH_DIR
>>> *** environment variable to the directory where scotch is installed.
>>> Checking for ufc-1... yes
>>> Checking for umfpack... no (pkg-config file not found)
>>> Trying to generate pkg-config file for umfpack... failed
>>> *** Unable to generate a suitable pkg-config file for umfpack.
>>> *** If umfpack is present on your system, try setting the UMFPACK_DIR
>>> *** environment variable to the directory where umfpack is installed.
>>> Checking for python-2... yes
>>> Checking for petsc... no (pkg-config file not found)
>>> Trying to generate pkg-config file for petsc... failed
>>> *** Unable to generate a suitable pkg-config file for petsc.
>>> *** If petsc is present on your system, try setting the PETSC_DIR
>>> *** environment variable to the directory where petsc is installed.
>>> Checking for gts... no (pkg-config file not found)
>>> Trying to generate pkg-config file for gts... failed
>>> *** Unable to generate a suitable pkg-config file for gts.
>>> *** If gts is present on your system, try setting the GTS_DIR
>>> *** environment variable to the directory where gts is installed.
>>> Checking for boost... yes
>>> Checking for slepc... no (pkg-config file not found)
>>> Trying to generate pkg-config file for slepc... failed
>>> *** Unable to generate a suitable pkg-config file for slepc.
>>> *** If slepc is present on your system, try setting the SLEPC_DIR
>>> *** environment variable to the directory where slepc is installed.
>>> Checking for libxml-2.0... yes
>>> Unable to find optional package: petsc
>>> Unable to find optional package: slepc
>>> Unable to find optional package: scotch
>>> Unable to find optional package: umfpack
>>> Unable to find optional package: gts
>>> Enabling compilation of PyDOLFIN
>>> scons: done reading SConscript files.
>>> scons: Building targets ...
>>> c++ -o dolfin/main/SubSystemsManager.os -c -Wall -pipe -ansi -DDEBUG -g
>>> -Werror -DNDEBUG -O2 -DHAS_MPI=1 -DMPICH_IGNORE_CXX_SEEK
>>> -DPACKAGE_VERSION=\"0.7.2\" -fPIC -I. -I/usr/include/libxml2
>>> dolfin/main/SubSystemsManager.cpp
>>> dolfin/main/SubSystemsManager.cpp:18:17: error: mpi.h: No such file or
>>> directory
>>> dolfin/main/SubSystemsManager.cpp: In static member function ‘static
>>> void dolfin::SubSystemsManager::initMPI()’:
>>> dolfin/main/SubSystemsManager.cpp:54: error: ‘MPI_Init’ was not
>>> declared
>>> in this scope
>>> dolfin/main/SubSystemsManager.cpp: In static member function ‘static
>>> void dolfin::SubSystemsManager::finalizeMPI()’:
>>> dolfin/main/SubSystemsManager.cpp:121: error: ‘MPI_Finalize’ was not
>>> declared in this scope
>>> dolfin/main/SubSystemsManager.cpp: In static member function ‘static
>>> bool dolfin::SubSystemsManager::MPIinitialized()’:
>>> dolfin/main/SubSystemsManager.cpp:151: error: ‘MPI_Initialized’ was
>>> not
>>> declared in this scope
>>> scons: *** [dolfin/main/SubSystemsManager.os] Error 1
>>> scons: building terminated because of errors.
>>>     
>>>       
>> Did another fix now. Please try again :)
>>
>> Johannes
>>
>>
>>   
>>     
>
> [EMAIL PROTECTED] dolfin]# scons
> scons: Reading SConscript files ...
> Checking for numpy-1... yes
> Checking for scotch... no (pkg-config file not found)
> Trying to generate pkg-config file for scotch... failed
> *** Unable to generate a suitable pkg-config file for scotch.
> *** If scotch is present on your system, try setting the SCOTCH_DIR
> *** environment variable to the directory where scotch is installed.
> Checking for ufc-1... yes
> Checking for umfpack... no (pkg-config file not found)
> Trying to generate pkg-config file for umfpack... failed
> *** Unable to generate a suitable pkg-config file for umfpack.
> *** If umfpack is present on your system, try setting the UMFPACK_DIR
> *** environment variable to the directory where umfpack is installed.
> Checking for python-2... yes
> Checking for petsc... no (pkg-config file not found)
> Trying to generate pkg-config file for petsc... failed
> *** Unable to generate a suitable pkg-config file for petsc.
> *** If petsc is present on your system, try setting the PETSC_DIR
> *** environment variable to the directory where petsc is installed.
> Checking for gts... no (pkg-config file not found)
> Trying to generate pkg-config file for gts... failed
> *** Unable to generate a suitable pkg-config file for gts.
> *** If gts is present on your system, try setting the GTS_DIR
> *** environment variable to the directory where gts is installed.
> Checking for boost... yes
> Checking for slepc... no (pkg-config file not found)
> Trying to generate pkg-config file for slepc... failed
> *** Unable to generate a suitable pkg-config file for slepc.
> *** If slepc is present on your system, try setting the SLEPC_DIR
> *** environment variable to the directory where slepc is installed.
> Checking for libxml-2.0... yes
> Unable to find optional package: petsc
> Unable to find optional package: slepc
> Unable to find optional package: scotch
> Unable to find optional package: umfpack
> Unable to find optional package: gts
> Enabling compilation of PyDOLFIN
> scons: done reading SConscript files.
> scons: Building targets ...
> c++ -o dolfin/main/SubSystemsManager.os -c -Wall -pipe -ansi -DDEBUG -g 
> -Werror -DNDEBUG -O2 -DHAS_MPI=1 -DMPICH_IGNORE_CXX_SEEK 
> -DPACKAGE_VERSION=\"0.7.2\" -fPIC -I. -I/usr/include/libxml2 
> dolfin/main/SubSystemsManager.cpp
> dolfin/main/SubSystemsManager.cpp:18:17: error: mpi.h: No such file or 
> directory
> dolfin/main/SubSystemsManager.cpp: In static member function 'static 
> void dolfin::SubSystemsManager::initMPI()':
> dolfin/main/SubSystemsManager.cpp:54: error: 'MPI_Init' was not declared 
> in this scope
> dolfin/main/SubSystemsManager.cpp: In static member function 'static 
> void dolfin::SubSystemsManager::finalizeMPI()':
> dolfin/main/SubSystemsManager.cpp:121: error: 'MPI_Finalize' was not 
> declared in this scope
> dolfin/main/SubSystemsManager.cpp: In static member function 'static 
> bool dolfin::SubSystemsManager::MPIinitialized()':
> dolfin/main/SubSystemsManager.cpp:151: error: 'MPI_Initialized' was not 
> declared in this scope
> scons: *** [dolfin/main/SubSystemsManager.os] Error 1
> scons: building terminated because of errors.
>
>
> Seems unchanged to me.
>
> Solveig
>
> _______________________________________________
> DOLFIN-dev mailing list
> [email protected]
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>   
I think
  if not env.Detect("mpirun") and env["CXX"] not in mpi_cxx_compilers:
should be
  if not env.Detect("mpirun") or env["CXX"] not in mpi_cxx_compilers:
in SConstruct?

I know I said it looked OK :-)

ilmar
_______________________________________________
DOLFIN-dev mailing list
[email protected]
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to