Re: [deal.II] Re: install problems with clang@12.0.0 and Xcode12.0 from spack

2020-09-28 Thread 'Alexander Greiner' via deal.II User Group
Hi Wolfgang,

at least I could not find a log file, but your hint encouraged me to find 
another solution. So I ran spack with -d and -v options to print out more 
information directly to the terminal. As you predicted, there was an error 
(attached) that seems to be related to the ginkgo package. I left out 
ginkgo and was finally able to install deal.II 9.2 with the following 
command:

spack -d -v install dealii~scalapack~ginkgo ^openblas@develop 
^arpack-ng@develop ^trilinos~mumps
Now, trying to run step-1 tutorial, I encounter a problem that some (quite 
a lot) libraries are not linked properly (previously discussed here: 
https://groups.google.com/g/dealii/c/hKNu1IfwClw). Error message is 
attached. I executed:

cd examples/step-1
spack load dealii
cmake .
make run

I don't know whether this problem is related to deal.II or to spack. But 
maybe there is a fix to that, without adapting all dynamic library files 
manually? I've also attached the summary.log and detailed.log in case it 
might be helpful.

Thank's a lot so far!

Regards 
Alex
Wolfgang Bangerth schrieb am Montag, 28. September 2020 um 04:52:33 UTC+2:

> On 9/26/20 6:21 AM, 'Alexander Greiner' via deal.II User Group wrote:
> > 
> > thank you for your response. Unfortunately, I am still receiving the 
> 'same' 
> > error message. This time:
> > Error: ProcessError: Command exited with status 2: 'make' '-j2'
> > Are there any other suggestions what I could try?
>
> The real error will have shown up higher up in the output. Can you scroll 
> up a 
> few pages to see whether there are other errors you can see? Is there a 
> log 
> file in the directory in which you run all of this?
>
> Best
> W.
>
> -- 
> 
> Wolfgang Bangerth email: bang...@colostate.edu
> www: http://www.math.colostate.edu/~bangerth/
>
>

-- 
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/4b8a5bec-d42b-4499-9e70-ceed14b0d2f6n%40googlegroups.com.
{\rtf1\ansi\ansicpg1252\cocoartf2513
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fnil\fcharset0 Menlo-Regular;}
{\colortbl;\red255\green255\blue255;\red0\green0\blue0;}
{\*\expandedcolortbl;;\csgray\c0;}
\paperw11900\paperh16840\margl1440\margr1440\vieww22740\viewh8400\viewkind0
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\partightenfactor0

\f0\fs22 \cf2 \CocoaLigature0 Undefined symbols for architecture x86_64:\
  "gko::OmpExecutor::raw_copy_to(gko::HipExecutor const*, unsigned long, void const*, void*) const", referenced from:\
  vtable for gko::ReferenceExecutor in ginkgo_solver.cc.o\
  "typeinfo for gko::HipExecutor", referenced from:\
  std::__1::enable_if<(!(is_array::value)) && (!(is_array::value)), std::__1::shared_ptr >::type std::__1::dynamic_pointer_cast(std::__1::shared_ptr const&) in ginkgo_solver.cc.o\
ld: symbol(s) not found for architecture x86_64\
clang: error: linker command failed with exit code 1 (use -v to see invocation)\
make[2]: *** [lib/libdeal_II.g.9.2.0.dylib] Error 1\
make[1]: *** [source/CMakeFiles/deal_II.g.dir/all] Error 2\
make[1]: *** Waiting for unfinished jobs\
[ 74%] Building CXX object source/numerics/CMakeFiles/obj_numerics_release.dir/point_value_history.cc.o}###
#
#  deal.II configuration:
#CMAKE_BUILD_TYPE:   DebugRelease
#BUILD_SHARED_LIBS:  ON
#CMAKE_INSTALL_PREFIX:   
/Users/alexandergreiner/spack/opt/spack/darwin-catalina-x86_64/apple-clang-12.0.0/dealii-9.2.0-hhnshee3fa5xzivzwuq22hkghpocfn5z
#CMAKE_SOURCE_DIR:   
/var/folders/x_/mm393q4d7ll2m8mztwrl1dnrgn/T/alexandergreiner/spack-stage/spack-stage-dealii-9.2.0-hhnshee3fa5xzivzwuq22hkghpocfn5z/spack-src
#(version 9.2.0)
#CMAKE_BINARY_DIR:   
/private/var/folders/x_/mm393q4d7ll2m8mztwrl1dnrgn/T/alexandergreiner/spack-stage/spack-stage-dealii-9.2.0-hhnshee3fa5xzivzwuq22hkghpocfn5z/spack-build-hhnshee
#CMAKE_CXX_COMPILER: AppleClang 12.0.0.1232 on platform Darwin 
x86_64
#
/Users/alexandergreiner/spack/opt/spack/darwin-catalina-x86_64/apple-clang-12.0.0/openmpi-3.1.6-7txgki6ad4t2nwusqypt32vs3hb4wzll/bin/mpic++
#
#  Configured Features (DEAL_II_ALLOW_BUNDLED = OFF, 
DEAL_II_ALLOW_AUTODETECTION = ON):
#  ( DEAL_II_WITH_64BIT_INDICES = False )
#DEAL_II_WITH_ADOLC set up with external dependencies
#DEAL_II_WITH_ARPACK set up with external dependencies
#DEAL_II_WITH_ASSIMP set up with external dependencies
#DEAL_II_WITH_BOOST set 

Re: [deal.II] Re: install problems with clang@12.0.0 and Xcode12.0 from spack

2020-09-27 Thread Wolfgang Bangerth

On 9/26/20 6:21 AM, 'Alexander Greiner' via deal.II User Group wrote:


thank you for your response. Unfortunately, I am still receiving the 'same' 
error message. This time:

Error: ProcessError: Command exited with status 2: 'make' '-j2'
Are there any other suggestions what I could try?


The real error will have shown up higher up in the output. Can you scroll up a 
few pages to see whether there are other errors you can see? Is there a log 
file in the directory in which you run all of this?


Best
 W.

--

Wolfgang Bangerth  email: bange...@colostate.edu
   www: http://www.math.colostate.edu/~bangerth/

--
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/de2831df-360e-0f34-337e-0fa69c7afa8d%40colostate.edu.