Re: [deal.II] Re: cmake . returns error on MAC OS XI Captain version 10.11.6 upon compiling dealii-8.5.0-brew.dmg

2018-05-11 Thread luca.heltai
The deal.II source directory can be found under

/Applications/deal.II-9.0.0.app/Contents/Resources/spack/src/deal.II-9.0.0

There you will find the examples directory.

In the new package (that I’m building right now), you’ll also have in the usual 
location.

Best,
Luca.



> On 12 May 2018, at 1:34, 'Wakil Sarfaraz' via deal.II User Group 
>  wrote:
> 
> In version 9.0.0 the examples directory is no longer located in 
> /Applications/deal.II-9.0.0.app/Contents/Resources/examples,
> Could you please help me allocated this?
> 
> Thanks,
> Wakil,
> 
> On Fri, May 11, 2018 at 10:47 PM, Denis Davydov  wrote:
> you can also try a pre-release package from this post: 
> 
> https://groups.google.com/forum/?fromgroups=#!topic/dealii/uvgXWCwAIlY 
> 
> 
> On Friday, May 11, 2018 at 10:53:32 PM UTC+2, Wakil Sarfaraz wrote:
> Hi Denis,
> Xcode is installed on my machine. It is just that I deleted the dmg files 
> associated to previous versions of deal.ii and cmake, which was perfectly 
> working.
> When I downloaded the new versions today, it returned these errors.
> 
> Best,
> Wakil 
> 
> On Friday, May 11, 2018 at 9:04:17 PM UTC+1, Denis Davydov wrote:
> Hi,
> 
> Make sure you have XCode installed as well as command line tools: 
> xcode-select --install
> 
> Regards,
> Denis.
> 
> On Friday, May 11, 2018 at 7:36:48 PM UTC+2, Wakil Sarfaraz wrote:
> Hi all,
> I have been away from deal.ii for almost two years.
> I have come back and wanted to install the most updated version which is 
> dealii-8.5.0-brew.dmg
> When I attempted to cmake the step-1 of the examples, it returns error 
> containing the following texts:
> 
> -- The C compiler identification is unknown
> 
> -- The CXX compiler identification is unknown
> 
> CMake Error at CMakeLists.txt:38 (PROJECT):
> 
>   The CMAKE_C_COMPILER:
> 
> 
> 
> 
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
> 
> 
> 
>   is not a full path to an existing compiler tool.
> 
> 
> 
>   Tell CMake where to find the compiler by setting either the environment
> 
>   variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
> 
>   the compiler, or to the compiler name if it is in the PATH.
> 
> 
> 
> 
> 
> -- Check for working CXX compiler: 
> /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx
> 
> -- Check for working CXX compiler: 
> /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx -- 
> broken
> 
> CMake Error at 
> /Applications/CMake.app/Contents/share/cmake-3.11/Modules/CMakeTestCXXCompiler.cmake:45
>  (message):
> 
>   The C++ compiler
> 
> 
> 
> "/Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx"
> 
> 
> 
>   is not able to compile a simple test program.
> 
> 
> 
>   It fails with the following output:
> 
> 
> 
> Change Dir: 
> /Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeTmp
> 
> 
> Run Build Command:"/usr/bin/make" "cmTC_a4024/fast"
> 
> /Library/Developer/CommandLineTools/usr/bin/make -f 
> CMakeFiles/cmTC_a4024.dir/build.make CMakeFiles/cmTC_a4024.dir/build
> 
> Building CXX object CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o
> 
> /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx 
> -o CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o -c 
> /Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
> 
> make[1]: *** [CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o] Illegal 
> instruction: 4
> 
> make: *** [cmTC_a4024/fast] Error 2
> 
> 
> 
> 
>   
> 
> 
>   CMake will not be able to correctly generate this project.
> 
> Call Stack (most recent call first):
> 
>   CMakeLists.txt:38 (PROJECT)
> 
> 
> 
> 
> 
> -- Configuring incomplete, errors occurred!
> 
> See also 
> "/Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeOutput.log".
> 
> See also 
> "/Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeError.log".
> 
> localhost:step-1 wakilsarfaraz$ 
> 
> I will greatly appreciate your help on this.
> 
> Regards,
> 
> 
> -- 
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see 
> https://groups.google.com/d/forum/dealii?hl=en
> --- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "deal.II User Group" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/dealii/KTR-9nGYemg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> dealii+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
> 
> 
> -- 
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see 
> https://groups.google.com/d/forum/dealii?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "deal.II User Group" 

Re: [deal.II] Re: cmake . returns error on MAC OS XI Captain version 10.11.6 upon compiling dealii-8.5.0-brew.dmg

2018-05-11 Thread 'Wakil Sarfaraz' via deal.II User Group
In version 9.0.0 the examples directory is no longer located in
/Applications/deal.II-9.0.0.app/Contents/Resources/examples,
Could you please help me allocated this?

Thanks,
Wakil,

On Fri, May 11, 2018 at 10:47 PM, Denis Davydov  wrote:

> you can also try a pre-release package from this post:
>
> https://groups.google.com/forum/?fromgroups=#!topic/dealii/uvgXWCwAIlY
>
>
> On Friday, May 11, 2018 at 10:53:32 PM UTC+2, Wakil Sarfaraz wrote:
>>
>> Hi Denis,
>> Xcode is installed on my machine. It is just that I deleted the dmg files
>> associated to previous versions of deal.ii and cmake, which was perfectly
>> working.
>> When I downloaded the new versions today, it returned these errors.
>>
>> Best,
>> Wakil
>>
>> On Friday, May 11, 2018 at 9:04:17 PM UTC+1, Denis Davydov wrote:
>>>
>>> Hi,
>>>
>>> Make sure you have XCode installed as well as command line
>>> tools: xcode-select --install
>>>
>>> Regards,
>>> Denis.
>>>
>>> On Friday, May 11, 2018 at 7:36:48 PM UTC+2, Wakil Sarfaraz wrote:

 Hi all,
 I have been away from deal.ii for almost two years.
 I have come back and wanted to install the most updated version which
 is dealii-8.5.0-brew.dmg
 
 When I attempted to cmake the step-1 of the examples, it returns error
 containing the following texts:

 -- The C compiler identification is unknown

 -- The CXX compiler identification is unknown

 CMake Error at CMakeLists.txt:38 (PROJECT):

   The CMAKE_C_COMPILER:


 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeD
 efault.xctoolchain/usr/bin/cc


   is not a full path to an existing compiler tool.


   Tell CMake where to find the compiler by setting either the
 environment

   variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full
 path to

   the compiler, or to the compiler name if it is in the PATH.



 -- Check for working CXX compiler: /Applications/deal.II-8.5-brew
 .app/Contents/Resources/brew/bin/mpicxx

 -- Check for working CXX compiler: /Applications/deal.II-8.5-brew
 .app/Contents/Resources/brew/bin/mpicxx -- broken

 CMake Error at /Applications/CMake.app/Conten
 ts/share/cmake-3.11/Modules/CMakeTestCXXCompiler.cmake:45 (message):

   The C++ compiler


 "/Applications/deal.II-8.5-brew.app/Contents/Resources/brew/
 bin/mpicxx"


   is not able to compile a simple test program.


   It fails with the following output:


 Change Dir: /Applications/deal.II-8.5-brew
 .app/Contents/Resources/examples/step-1/CMakeFiles/CMakeTmp



 Run Build Command:"/usr/bin/make" "cmTC_a4024/fast"

 /Library/Developer/CommandLineTools/usr/bin/make -f
 CMakeFiles/cmTC_a4024.dir/build.make CMakeFiles/cmTC_a4024.dir/build

 Building CXX object CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o

 /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx
 -o CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o -c
 /Applications/deal.II-8.5-brew.app/Contents/Resources/exampl
 es/step-1/CMakeFiles/CMakeTmp/testCXXCompiler.cxx

 make[1]: *** [CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o]
 Illegal instruction: 4

 make: *** [cmTC_a4024/fast] Error 2







   CMake will not be able to correctly generate this project.

 Call Stack (most recent call first):

   CMakeLists.txt:38 (PROJECT)



 -- Configuring incomplete, errors occurred!

 See also "/Applications/deal.II-8.5-brew.app/Contents/Resources/examp
 les/step-1/CMakeFiles/CMakeOutput.log".

 See also "/Applications/deal.II-8.5-brew.app/Contents/Resources/examp
 les/step-1/CMakeFiles/CMakeError.log".

 localhost:step-1 wakilsarfaraz$

 I will greatly appreciate your help on this.

 Regards,

>>> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see https://groups.google.com/d/
> forum/dealii?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "deal.II User Group" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/dealii/KTR-9nGYemg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> dealii+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails

Re: [deal.II] Re: cmake . returns error on MAC OS XI Captain version 10.11.6 upon compiling dealii-8.5.0-brew.dmg

2018-05-11 Thread 'Wakil Sarfaraz' via deal.II User Group
I got the dmg for version 9.0.0,
thanks,
Wakil

On Fri, May 11, 2018 at 10:47 PM, Denis Davydov  wrote:

> you can also try a pre-release package from this post:
>
> https://groups.google.com/forum/?fromgroups=#!topic/dealii/uvgXWCwAIlY
>
>
> On Friday, May 11, 2018 at 10:53:32 PM UTC+2, Wakil Sarfaraz wrote:
>>
>> Hi Denis,
>> Xcode is installed on my machine. It is just that I deleted the dmg files
>> associated to previous versions of deal.ii and cmake, which was perfectly
>> working.
>> When I downloaded the new versions today, it returned these errors.
>>
>> Best,
>> Wakil
>>
>> On Friday, May 11, 2018 at 9:04:17 PM UTC+1, Denis Davydov wrote:
>>>
>>> Hi,
>>>
>>> Make sure you have XCode installed as well as command line
>>> tools: xcode-select --install
>>>
>>> Regards,
>>> Denis.
>>>
>>> On Friday, May 11, 2018 at 7:36:48 PM UTC+2, Wakil Sarfaraz wrote:

 Hi all,
 I have been away from deal.ii for almost two years.
 I have come back and wanted to install the most updated version which
 is dealii-8.5.0-brew.dmg
 
 When I attempted to cmake the step-1 of the examples, it returns error
 containing the following texts:

 -- The C compiler identification is unknown

 -- The CXX compiler identification is unknown

 CMake Error at CMakeLists.txt:38 (PROJECT):

   The CMAKE_C_COMPILER:


 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeD
 efault.xctoolchain/usr/bin/cc


   is not a full path to an existing compiler tool.


   Tell CMake where to find the compiler by setting either the
 environment

   variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full
 path to

   the compiler, or to the compiler name if it is in the PATH.



 -- Check for working CXX compiler: /Applications/deal.II-8.5-brew
 .app/Contents/Resources/brew/bin/mpicxx

 -- Check for working CXX compiler: /Applications/deal.II-8.5-brew
 .app/Contents/Resources/brew/bin/mpicxx -- broken

 CMake Error at /Applications/CMake.app/Conten
 ts/share/cmake-3.11/Modules/CMakeTestCXXCompiler.cmake:45 (message):

   The C++ compiler


 "/Applications/deal.II-8.5-brew.app/Contents/Resources/brew/
 bin/mpicxx"


   is not able to compile a simple test program.


   It fails with the following output:


 Change Dir: /Applications/deal.II-8.5-brew
 .app/Contents/Resources/examples/step-1/CMakeFiles/CMakeTmp



 Run Build Command:"/usr/bin/make" "cmTC_a4024/fast"

 /Library/Developer/CommandLineTools/usr/bin/make -f
 CMakeFiles/cmTC_a4024.dir/build.make CMakeFiles/cmTC_a4024.dir/build

 Building CXX object CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o

 /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx
 -o CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o -c
 /Applications/deal.II-8.5-brew.app/Contents/Resources/exampl
 es/step-1/CMakeFiles/CMakeTmp/testCXXCompiler.cxx

 make[1]: *** [CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o]
 Illegal instruction: 4

 make: *** [cmTC_a4024/fast] Error 2







   CMake will not be able to correctly generate this project.

 Call Stack (most recent call first):

   CMakeLists.txt:38 (PROJECT)



 -- Configuring incomplete, errors occurred!

 See also "/Applications/deal.II-8.5-brew.app/Contents/Resources/examp
 les/step-1/CMakeFiles/CMakeOutput.log".

 See also "/Applications/deal.II-8.5-brew.app/Contents/Resources/examp
 les/step-1/CMakeFiles/CMakeError.log".

 localhost:step-1 wakilsarfaraz$

 I will greatly appreciate your help on this.

 Regards,

>>> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see https://groups.google.com/d/
> forum/dealii?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "deal.II User Group" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/dealii/KTR-9nGYemg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> dealii+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [deal.II] Re: cmake . returns error on MAC OS XI Captain version 10.11.6 upon compiling dealii-8.5.0-brew.dmg

2018-05-11 Thread 'Wakil Sarfaraz' via deal.II User Group
Can this new version be installed on Mac without a dmg file?
Apologies if the question is too basic.

Best,
Wakil

On Fri, May 11, 2018 at 10:47 PM, Denis Davydov  wrote:

> you can also try a pre-release package from this post:
>
> https://groups.google.com/forum/?fromgroups=#!topic/dealii/uvgXWCwAIlY
>
>
> On Friday, May 11, 2018 at 10:53:32 PM UTC+2, Wakil Sarfaraz wrote:
>>
>> Hi Denis,
>> Xcode is installed on my machine. It is just that I deleted the dmg files
>> associated to previous versions of deal.ii and cmake, which was perfectly
>> working.
>> When I downloaded the new versions today, it returned these errors.
>>
>> Best,
>> Wakil
>>
>> On Friday, May 11, 2018 at 9:04:17 PM UTC+1, Denis Davydov wrote:
>>>
>>> Hi,
>>>
>>> Make sure you have XCode installed as well as command line
>>> tools: xcode-select --install
>>>
>>> Regards,
>>> Denis.
>>>
>>> On Friday, May 11, 2018 at 7:36:48 PM UTC+2, Wakil Sarfaraz wrote:

 Hi all,
 I have been away from deal.ii for almost two years.
 I have come back and wanted to install the most updated version which
 is dealii-8.5.0-brew.dmg
 
 When I attempted to cmake the step-1 of the examples, it returns error
 containing the following texts:

 -- The C compiler identification is unknown

 -- The CXX compiler identification is unknown

 CMake Error at CMakeLists.txt:38 (PROJECT):

   The CMAKE_C_COMPILER:


 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeD
 efault.xctoolchain/usr/bin/cc


   is not a full path to an existing compiler tool.


   Tell CMake where to find the compiler by setting either the
 environment

   variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full
 path to

   the compiler, or to the compiler name if it is in the PATH.



 -- Check for working CXX compiler: /Applications/deal.II-8.5-brew
 .app/Contents/Resources/brew/bin/mpicxx

 -- Check for working CXX compiler: /Applications/deal.II-8.5-brew
 .app/Contents/Resources/brew/bin/mpicxx -- broken

 CMake Error at /Applications/CMake.app/Conten
 ts/share/cmake-3.11/Modules/CMakeTestCXXCompiler.cmake:45 (message):

   The C++ compiler


 "/Applications/deal.II-8.5-brew.app/Contents/Resources/brew/
 bin/mpicxx"


   is not able to compile a simple test program.


   It fails with the following output:


 Change Dir: /Applications/deal.II-8.5-brew
 .app/Contents/Resources/examples/step-1/CMakeFiles/CMakeTmp



 Run Build Command:"/usr/bin/make" "cmTC_a4024/fast"

 /Library/Developer/CommandLineTools/usr/bin/make -f
 CMakeFiles/cmTC_a4024.dir/build.make CMakeFiles/cmTC_a4024.dir/build

 Building CXX object CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o

 /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx
 -o CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o -c
 /Applications/deal.II-8.5-brew.app/Contents/Resources/exampl
 es/step-1/CMakeFiles/CMakeTmp/testCXXCompiler.cxx

 make[1]: *** [CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o]
 Illegal instruction: 4

 make: *** [cmTC_a4024/fast] Error 2







   CMake will not be able to correctly generate this project.

 Call Stack (most recent call first):

   CMakeLists.txt:38 (PROJECT)



 -- Configuring incomplete, errors occurred!

 See also "/Applications/deal.II-8.5-brew.app/Contents/Resources/examp
 les/step-1/CMakeFiles/CMakeOutput.log".

 See also "/Applications/deal.II-8.5-brew.app/Contents/Resources/examp
 les/step-1/CMakeFiles/CMakeError.log".

 localhost:step-1 wakilsarfaraz$

 I will greatly appreciate your help on this.

 Regards,

>>> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see https://groups.google.com/d/
> forum/dealii?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "deal.II User Group" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/dealii/KTR-9nGYemg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> dealii+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For

Re: [deal.II] Re: cmake . returns error on MAC OS XI Captain version 10.11.6 upon compiling dealii-8.5.0-brew.dmg

2018-05-11 Thread 'Wakil Sarfaraz' via deal.II User Group
Hi Denis,

The command line tool is installed as shown in this:

Wakils-MBP:~ wakilsarfaraz$ sudo xcode-select --install

Password:

xcode-select: error: command line tools are already installed, use
"Software Update" to install updates

Wakils-MBP:~ wakilsarfaraz$

I will check the other suggestion you sent,
thanks for your effort.

Best
Wakil

On Fri, May 11, 2018 at 10:46 PM, Denis Davydov  wrote:

> Hi Wakil,
>
> so command line tools are installed, did you check?
>
> CMake tells you the error:
>
>  The CMAKE_C_COMPILER:
>
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.
> xctoolchain/usr/bin/cc
>
>   is not a full path to an existing compiler tool.
>
> so see whether you have this or not. Perhaps something changes in between
> macOS versions, I won't be surprized. The dmg you download are built with
> specific version (probably Sierra or High Sierra) using Apple's clang. So
> if location of compiler changes between those versions, then there is a
> problem.
>
> Regards,
>
> Denis
>
> On Friday, May 11, 2018 at 10:53:32 PM UTC+2, Wakil Sarfaraz wrote:
>>
>> Hi Denis,
>> Xcode is installed on my machine. It is just that I deleted the dmg files
>> associated to previous versions of deal.ii and cmake, which was perfectly
>> working.
>> When I downloaded the new versions today, it returned these errors.
>>
>> Best,
>> Wakil
>>
>> On Friday, May 11, 2018 at 9:04:17 PM UTC+1, Denis Davydov wrote:
>>>
>>> Hi,
>>>
>>> Make sure you have XCode installed as well as command line
>>> tools: xcode-select --install
>>>
>>> Regards,
>>> Denis.
>>>
>>> On Friday, May 11, 2018 at 7:36:48 PM UTC+2, Wakil Sarfaraz wrote:

 Hi all,
 I have been away from deal.ii for almost two years.
 I have come back and wanted to install the most updated version which
 is dealii-8.5.0-brew.dmg
 
 When I attempted to cmake the step-1 of the examples, it returns error
 containing the following texts:

 -- The C compiler identification is unknown

 -- The CXX compiler identification is unknown

 CMake Error at CMakeLists.txt:38 (PROJECT):

   The CMAKE_C_COMPILER:


 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeD
 efault.xctoolchain/usr/bin/cc


   is not a full path to an existing compiler tool.


   Tell CMake where to find the compiler by setting either the
 environment

   variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full
 path to

   the compiler, or to the compiler name if it is in the PATH.



 -- Check for working CXX compiler: /Applications/deal.II-8.5-brew
 .app/Contents/Resources/brew/bin/mpicxx

 -- Check for working CXX compiler: /Applications/deal.II-8.5-brew
 .app/Contents/Resources/brew/bin/mpicxx -- broken

 CMake Error at /Applications/CMake.app/Conten
 ts/share/cmake-3.11/Modules/CMakeTestCXXCompiler.cmake:45 (message):

   The C++ compiler


 "/Applications/deal.II-8.5-brew.app/Contents/Resources/brew/
 bin/mpicxx"


   is not able to compile a simple test program.


   It fails with the following output:


 Change Dir: /Applications/deal.II-8.5-brew
 .app/Contents/Resources/examples/step-1/CMakeFiles/CMakeTmp



 Run Build Command:"/usr/bin/make" "cmTC_a4024/fast"

 /Library/Developer/CommandLineTools/usr/bin/make -f
 CMakeFiles/cmTC_a4024.dir/build.make CMakeFiles/cmTC_a4024.dir/build

 Building CXX object CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o

 /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx
 -o CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o -c
 /Applications/deal.II-8.5-brew.app/Contents/Resources/exampl
 es/step-1/CMakeFiles/CMakeTmp/testCXXCompiler.cxx

 make[1]: *** [CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o]
 Illegal instruction: 4

 make: *** [cmTC_a4024/fast] Error 2







   CMake will not be able to correctly generate this project.

 Call Stack (most recent call first):

   CMakeLists.txt:38 (PROJECT)



 -- Configuring incomplete, errors occurred!

 See also "/Applications/deal.II-8.5-brew.app/Contents/Resources/examp
 les/step-1/CMakeFiles/CMakeOutput.log".

 See also "/Applications/deal.II-8.5-brew.app/Contents/Resources/examp
 les/step-1/CMakeFiles/CMakeError.log".

 localhost:step-1 wakilsarfaraz$

 I will greatly appreciate your help on this.

 Regards,

>>> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see https://groups.google.com/d/
> forum/dealii?hl=en
> ---
> You received this message because you are subscribed to 

[deal.II] Re: cmake . returns error on MAC OS XI Captain version 10.11.6 upon compiling dealii-8.5.0-brew.dmg

2018-05-11 Thread Denis Davydov
you can also try a pre-release package from this post: 

https://groups.google.com/forum/?fromgroups=#!topic/dealii/uvgXWCwAIlY 

On Friday, May 11, 2018 at 10:53:32 PM UTC+2, Wakil Sarfaraz wrote:
>
> Hi Denis,
> Xcode is installed on my machine. It is just that I deleted the dmg files 
> associated to previous versions of deal.ii and cmake, which was perfectly 
> working.
> When I downloaded the new versions today, it returned these errors.
>
> Best,
> Wakil 
>
> On Friday, May 11, 2018 at 9:04:17 PM UTC+1, Denis Davydov wrote:
>>
>> Hi,
>>
>> Make sure you have XCode installed as well as command line 
>> tools: xcode-select --install
>>
>> Regards,
>> Denis.
>>
>> On Friday, May 11, 2018 at 7:36:48 PM UTC+2, Wakil Sarfaraz wrote:
>>>
>>> Hi all,
>>> I have been away from deal.ii for almost two years.
>>> I have come back and wanted to install the most updated version which is 
>>> dealii-8.5.0-brew.dmg 
>>> 
>>> When I attempted to cmake the step-1 of the examples, it returns error 
>>> containing the following texts:
>>>
>>> -- The C compiler identification is unknown
>>>
>>> -- The CXX compiler identification is unknown
>>>
>>> CMake Error at CMakeLists.txt:38 (PROJECT):
>>>
>>>   The CMAKE_C_COMPILER:
>>>
>>>
>>> 
>>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
>>>
>>>
>>>   is not a full path to an existing compiler tool.
>>>
>>>
>>>   Tell CMake where to find the compiler by setting either the 
>>> environment
>>>
>>>   variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full 
>>> path to
>>>
>>>   the compiler, or to the compiler name if it is in the PATH.
>>>
>>>
>>>
>>> -- Check for working CXX compiler: 
>>> /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx
>>>
>>> -- Check for working CXX compiler: 
>>> /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx -- 
>>> broken
>>>
>>> CMake Error at 
>>> /Applications/CMake.app/Contents/share/cmake-3.11/Modules/CMakeTestCXXCompiler.cmake:45
>>>  
>>> (message):
>>>
>>>   The C++ compiler
>>>
>>>
>>> 
>>> "/Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx"
>>>
>>>
>>>   is not able to compile a simple test program.
>>>
>>>
>>>   It fails with the following output:
>>>
>>>
>>> Change Dir: 
>>> /Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeTmp
>>>
>>> 
>>>
>>> Run Build Command:"/usr/bin/make" "cmTC_a4024/fast"
>>>
>>> /Library/Developer/CommandLineTools/usr/bin/make -f 
>>> CMakeFiles/cmTC_a4024.dir/build.make CMakeFiles/cmTC_a4024.dir/build
>>>
>>> Building CXX object CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o
>>>
>>> /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx 
>>> -o CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o -c 
>>> /Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
>>>
>>> make[1]: *** [CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o] 
>>> Illegal instruction: 4
>>>
>>> make: *** [cmTC_a4024/fast] Error 2
>>>
>>> 
>>>
>>>
>>>   
>>>
>>>
>>>   CMake will not be able to correctly generate this project.
>>>
>>> Call Stack (most recent call first):
>>>
>>>   CMakeLists.txt:38 (PROJECT)
>>>
>>>
>>>
>>> -- Configuring incomplete, errors occurred!
>>>
>>> See also 
>>> "/Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeOutput.log".
>>>
>>> See also 
>>> "/Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeError.log".
>>>
>>> localhost:step-1 wakilsarfaraz$ 
>>>
>>> I will greatly appreciate your help on this.
>>>
>>> Regards,
>>>
>>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[deal.II] Re: cmake . returns error on MAC OS XI Captain version 10.11.6 upon compiling dealii-8.5.0-brew.dmg

2018-05-11 Thread Denis Davydov
Hi Wakil,

so command line tools are installed, did you check?

CMake tells you the error: 

 The CMAKE_C_COMPILER:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.
xctoolchain/usr/bin/cc

  is not a full path to an existing compiler tool.

so see whether you have this or not. Perhaps something changes in between 
macOS versions, I won't be surprized. The dmg you download are built with 
specific version (probably Sierra or High Sierra) using Apple's clang. So 
if location of compiler changes between those versions, then there is a 
problem. 

Regards,

Denis

On Friday, May 11, 2018 at 10:53:32 PM UTC+2, Wakil Sarfaraz wrote:
>
> Hi Denis,
> Xcode is installed on my machine. It is just that I deleted the dmg files 
> associated to previous versions of deal.ii and cmake, which was perfectly 
> working.
> When I downloaded the new versions today, it returned these errors.
>
> Best,
> Wakil 
>
> On Friday, May 11, 2018 at 9:04:17 PM UTC+1, Denis Davydov wrote:
>>
>> Hi,
>>
>> Make sure you have XCode installed as well as command line 
>> tools: xcode-select --install
>>
>> Regards,
>> Denis.
>>
>> On Friday, May 11, 2018 at 7:36:48 PM UTC+2, Wakil Sarfaraz wrote:
>>>
>>> Hi all,
>>> I have been away from deal.ii for almost two years.
>>> I have come back and wanted to install the most updated version which is 
>>> dealii-8.5.0-brew.dmg 
>>> 
>>> When I attempted to cmake the step-1 of the examples, it returns error 
>>> containing the following texts:
>>>
>>> -- The C compiler identification is unknown
>>>
>>> -- The CXX compiler identification is unknown
>>>
>>> CMake Error at CMakeLists.txt:38 (PROJECT):
>>>
>>>   The CMAKE_C_COMPILER:
>>>
>>>
>>> 
>>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
>>>
>>>
>>>   is not a full path to an existing compiler tool.
>>>
>>>
>>>   Tell CMake where to find the compiler by setting either the 
>>> environment
>>>
>>>   variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full 
>>> path to
>>>
>>>   the compiler, or to the compiler name if it is in the PATH.
>>>
>>>
>>>
>>> -- Check for working CXX compiler: 
>>> /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx
>>>
>>> -- Check for working CXX compiler: 
>>> /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx -- 
>>> broken
>>>
>>> CMake Error at 
>>> /Applications/CMake.app/Contents/share/cmake-3.11/Modules/CMakeTestCXXCompiler.cmake:45
>>>  
>>> (message):
>>>
>>>   The C++ compiler
>>>
>>>
>>> 
>>> "/Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx"
>>>
>>>
>>>   is not able to compile a simple test program.
>>>
>>>
>>>   It fails with the following output:
>>>
>>>
>>> Change Dir: 
>>> /Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeTmp
>>>
>>> 
>>>
>>> Run Build Command:"/usr/bin/make" "cmTC_a4024/fast"
>>>
>>> /Library/Developer/CommandLineTools/usr/bin/make -f 
>>> CMakeFiles/cmTC_a4024.dir/build.make CMakeFiles/cmTC_a4024.dir/build
>>>
>>> Building CXX object CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o
>>>
>>> /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx 
>>> -o CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o -c 
>>> /Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
>>>
>>> make[1]: *** [CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o] 
>>> Illegal instruction: 4
>>>
>>> make: *** [cmTC_a4024/fast] Error 2
>>>
>>> 
>>>
>>>
>>>   
>>>
>>>
>>>   CMake will not be able to correctly generate this project.
>>>
>>> Call Stack (most recent call first):
>>>
>>>   CMakeLists.txt:38 (PROJECT)
>>>
>>>
>>>
>>> -- Configuring incomplete, errors occurred!
>>>
>>> See also 
>>> "/Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeOutput.log".
>>>
>>> See also 
>>> "/Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeError.log".
>>>
>>> localhost:step-1 wakilsarfaraz$ 
>>>
>>> I will greatly appreciate your help on this.
>>>
>>> Regards,
>>>
>>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[deal.II] Re: cmake . returns error on MAC OS XI Captain version 10.11.6 upon compiling dealii-8.5.0-brew.dmg

2018-05-11 Thread 'Wakil Sarfaraz' via deal.II User Group
Hi Denis,
Xcode is installed on my machine. It is just that I deleted the dmg files 
associated to previous versions of deal.ii and cmake, which was perfectly 
working.
When I downloaded the new versions today, it returned these errors.

Best,
Wakil 

On Friday, May 11, 2018 at 9:04:17 PM UTC+1, Denis Davydov wrote:
>
> Hi,
>
> Make sure you have XCode installed as well as command line 
> tools: xcode-select --install
>
> Regards,
> Denis.
>
> On Friday, May 11, 2018 at 7:36:48 PM UTC+2, Wakil Sarfaraz wrote:
>>
>> Hi all,
>> I have been away from deal.ii for almost two years.
>> I have come back and wanted to install the most updated version which is 
>> dealii-8.5.0-brew.dmg 
>> 
>> When I attempted to cmake the step-1 of the examples, it returns error 
>> containing the following texts:
>>
>> -- The C compiler identification is unknown
>>
>> -- The CXX compiler identification is unknown
>>
>> CMake Error at CMakeLists.txt:38 (PROJECT):
>>
>>   The CMAKE_C_COMPILER:
>>
>>
>> 
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
>>
>>
>>   is not a full path to an existing compiler tool.
>>
>>
>>   Tell CMake where to find the compiler by setting either the environment
>>
>>   variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full 
>> path to
>>
>>   the compiler, or to the compiler name if it is in the PATH.
>>
>>
>>
>> -- Check for working CXX compiler: 
>> /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx
>>
>> -- Check for working CXX compiler: 
>> /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx -- 
>> broken
>>
>> CMake Error at 
>> /Applications/CMake.app/Contents/share/cmake-3.11/Modules/CMakeTestCXXCompiler.cmake:45
>>  
>> (message):
>>
>>   The C++ compiler
>>
>>
>> 
>> "/Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx"
>>
>>
>>   is not able to compile a simple test program.
>>
>>
>>   It fails with the following output:
>>
>>
>> Change Dir: 
>> /Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeTmp
>>
>> 
>>
>> Run Build Command:"/usr/bin/make" "cmTC_a4024/fast"
>>
>> /Library/Developer/CommandLineTools/usr/bin/make -f 
>> CMakeFiles/cmTC_a4024.dir/build.make CMakeFiles/cmTC_a4024.dir/build
>>
>> Building CXX object CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o
>>
>> /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx 
>> -o CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o -c 
>> /Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
>>
>> make[1]: *** [CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o] 
>> Illegal instruction: 4
>>
>> make: *** [cmTC_a4024/fast] Error 2
>>
>> 
>>
>>
>>   
>>
>>
>>   CMake will not be able to correctly generate this project.
>>
>> Call Stack (most recent call first):
>>
>>   CMakeLists.txt:38 (PROJECT)
>>
>>
>>
>> -- Configuring incomplete, errors occurred!
>>
>> See also 
>> "/Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeOutput.log".
>>
>> See also 
>> "/Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeError.log".
>>
>> localhost:step-1 wakilsarfaraz$ 
>>
>> I will greatly appreciate your help on this.
>>
>> Regards,
>>
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[deal.II] Re: cmake . returns error on MAC OS XI Captain version 10.11.6 upon compiling dealii-8.5.0-brew.dmg

2018-05-11 Thread Denis Davydov
Hi,

Make sure you have XCode installed as well as command line 
tools: xcode-select --install

Regards,
Denis.

On Friday, May 11, 2018 at 7:36:48 PM UTC+2, Wakil Sarfaraz wrote:
>
> Hi all,
> I have been away from deal.ii for almost two years.
> I have come back and wanted to install the most updated version which is 
> dealii-8.5.0-brew.dmg 
> 
> When I attempted to cmake the step-1 of the examples, it returns error 
> containing the following texts:
>
> -- The C compiler identification is unknown
>
> -- The CXX compiler identification is unknown
>
> CMake Error at CMakeLists.txt:38 (PROJECT):
>
>   The CMAKE_C_COMPILER:
>
>
> 
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
>
>
>   is not a full path to an existing compiler tool.
>
>
>   Tell CMake where to find the compiler by setting either the environment
>
>   variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full 
> path to
>
>   the compiler, or to the compiler name if it is in the PATH.
>
>
>
> -- Check for working CXX compiler: 
> /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx
>
> -- Check for working CXX compiler: 
> /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx -- 
> broken
>
> CMake Error at 
> /Applications/CMake.app/Contents/share/cmake-3.11/Modules/CMakeTestCXXCompiler.cmake:45
>  
> (message):
>
>   The C++ compiler
>
>
> 
> "/Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx"
>
>
>   is not able to compile a simple test program.
>
>
>   It fails with the following output:
>
>
> Change Dir: 
> /Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeTmp
>
> 
>
> Run Build Command:"/usr/bin/make" "cmTC_a4024/fast"
>
> /Library/Developer/CommandLineTools/usr/bin/make -f 
> CMakeFiles/cmTC_a4024.dir/build.make CMakeFiles/cmTC_a4024.dir/build
>
> Building CXX object CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o
>
> /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx   
>   -o CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o -c 
> /Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
>
> make[1]: *** [CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o] 
> Illegal instruction: 4
>
> make: *** [cmTC_a4024/fast] Error 2
>
> 
>
>
>   
>
>
>   CMake will not be able to correctly generate this project.
>
> Call Stack (most recent call first):
>
>   CMakeLists.txt:38 (PROJECT)
>
>
>
> -- Configuring incomplete, errors occurred!
>
> See also 
> "/Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeOutput.log".
>
> See also 
> "/Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeError.log".
>
> localhost:step-1 wakilsarfaraz$ 
>
> I will greatly appreciate your help on this.
>
> Regards,
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.