Re: [deal.II] New deal.II 9.2.0 package for MAC

2020-06-29 Thread luca.heltai
Alberto, 

what do you have in your .profile file?

If you do not enable views, then you first have to 

module load dealii

before you can run any example, to set up the environment. If you use views, a 
global DYLD_LIBRARY_PATH=/Appl./…/…/Libraries/lib is added, where metis is. 

My guess is that you are not using views, and you did not load dealii. Can this 
be the case?

L.

> On 26 Jun 2020, at 12:35, Alberto Salvadori  
> wrote:
> 
> Hi Luca
> 
> I hate to write this, but I am still having issues. 
> 
> Here is my machine data:
> 
> Hardware Overview:
> 
>   Model Name: MacBook Pro
>   Model Identifier:   MacBookPro10,1
>   Processor Name: Quad-Core Intel Core i7
>   Processor Speed:2.3 GHz
>   Number of Processors:   1
>   Total Number of Cores:  4
>   L2 Cache (per Core):256 KB
>   L3 Cache:   6 MB
>   Hyper-Threading Technology: Enabled
>   Memory: 8 GB
> 
> 
> 
> 
> See the screenshot below:
> 
> 
> 
>   __   _  _ _
> |  _  \ | ||_   _|_   _|
> | | | |___  __ _| |  | |   | |
> | | | / _ \/ _| | |  | |   | |
> | |/ /  __/ (_| | |__| |_ _| |_
> |___/ \___|\__,_|_(_)___/ \___/
> 
> This is a shell with modules and PATHs set to work with Deal.II.
> All external libraries and deal.II itself are located in 
> 
> /Applications/deal.II.app/Contents/Resources/spack/
> 
> If you want to set up your daily Terminal to work with deal.II, add
> these lines to your ~/.profile file (the first line turns off this message):
> 
>export DEAL_II_CONF_SILENT=ON
># DEAL_II_USE_LMOD=ON # if you want to use lmod instead of tcl module
># DEAL_II_ENABLE_VIEW=ON # if you want to set CMAKE_PREFIX_PATH to a view 
> of
>. /Applications/deal.II.app/Contents/MacOS/dealii.conf
> 
> deal.II and all its dependencies were installed using spack, and are available
> through the spack and module or lmod commands, e.g.:
> 
> module load dealii
> 
> 
> The default interactive shell is now zsh.
> To update your account to use zsh, please run `chsh -s /bin/zsh`.
> For more details, please visit https://support.apple.com/kb/HT208050.
> bash-3.2$ cd /Users/albertosalvadori/Codes/dealii-9.2/examples 
> bash-3.2$ 
> bash-3.2$ 
> bash-3.2$ 
> bash-3.2$ cd step-18
> bash-3.2$ ls
> CMakeLists.txtdoc step-18.cc
> bash-3.2$ cmake -G 'Unix Makefiles'
> CMake Warning:
>   No source or binary directory provided.  Both will be assumed to be the
>   same as the current working directory, but note that this warning will
>   become a fatal error in future CMake releases.
> 
> 
> -- The C compiler identification is AppleClang 11.0.3.11030032
> -- The CXX compiler identification is AppleClang 11.0.3.11030032
> -- Check for working C compiler: 
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
> -- Check for working C compiler: 
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
>  - works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: 
> /Applications/deal.II.app/Contents/Resources/spack/opt/spack/darwin-catalina-x86_64/clang-11.0.3-apple/openmpi-3.1.6-ch3xlssbdriiio4hygk3xhnxclncjvze/bin/mpic++
> -- Check for working CXX compiler: 
> /Applications/deal.II.app/Contents/Resources/spack/opt/spack/darwin-catalina-x86_64/clang-11.0.3-apple/openmpi-3.1.6-ch3xlssbdriiio4hygk3xhnxclncjvze/bin/mpic++
>  - works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Autopilot invoked
> ###
> #
> #  Project  step-18  set up with  deal.II-9.2.0  found at
> #  /Applications/deal.II.app/Contents/Resources/Libraries
> #
> #  CMAKE_BUILD_TYPE:  Debug
> #
> #  You can now run
> #   $ make- to compile and link the program
> #   $ make run- to (compile, link and) run the program
> #
> #   $ make sign   - to sign the executable with the supplied OSX 
> developer key
> #
> #   $ make debug  - to switch the build type to 'Debug'
> #   $ make release- to switch the build type to 'Release'
> #
> #   $ make edit_cache - to change (cached) configuration variables
> #   and rerun the configure and generate phases 
> of CMake
> #
> #   $ make strip_comments - to strip the source files in this
> #   directory off their comments; this is 
> irreversible
> #   $ make clean  - to remove the generated executable as well as
> #   all intermediate compilation files
> #   $ make runclean   - to remove all output generated by the program
> #   $ make distclean  - to clean the directory from _all_ generated
> # 

[deal.II] New deal.II 9.2.0 package for MAC

2020-06-24 Thread luca.heltai
Dear All, 

there has been an issue with the deal.II Package which I hope I was able to 
resolve. 

The new mac package is in the same place of the old one

https://github.com/dealii/dealii/releases/download/v9.2.0/dealii-9.2.0.dmg

Would anyone with a mac try it out and tell me if they can run it?

Luca. 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/97155645-AFE0-461D-B1D1-1667F4718CFE%40gmail.com.