Dear Nicola,

This is pretty strange, since you say that the same code compiles on other 
machines. From what I can tell from a brief search of this error message, it 
typically appears when there is a stray brace or comma or the like. Are you 
completely sure that source files on this problematic machine are exactly the 
same as the others? You could checksum them to verify this (or if you’re 
working from a git repo then reset your working copy to the same commit as is 
on the other machines). Can you successfully compile the tutorial programs and 
run the quick tests? 

I hope that you get to the bottom of this quickly…
Jean-Paul

> On 28 Jan 2019, at 11:35, Nicola Giuliani <[email protected]> wrote:
> 
> Dear all,
> 
> I have just updated my spack installation of deal.ii on Linux Mint (18) 
> machine. 
> 
> When I try to compile my deal.ii based project I get puzzling errors. The 
> compiler has already compiled all the files of the project and put them into 
> a library, then It tries to compile the main file executing the following line
> 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/openmpi-3.0.0-qmx362t6s5wbgobozcrsjf7fpvxxxtqs/bin/mpic++
>   -DBEM_STOKES_WITH_OCE -DBOOST_NO_AUTO_PTR -DDEBUG -DDIMENSION=2 
> -I/home/ngiuliani/dealii-sak/build_install/include -I/include -isystem 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/dealii-develop-2v2xq5su2vyofnxqquxt3wbsplcjt6xj/include
>  -isystem 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/dealii-develop-2v2xq5su2vyofnxqquxt3wbsplcjt6xj/include/deal.II/bundled
>  -isystem 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/intel-tbb-2018.2-3yqjnfismuxzlishgreplwswwnjkp6sd/include
>  -isystem 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/boost-1.65.1-l3bryfy7bnr4jbhwp7ldbtac45gn7ne5/include
>  -isystem 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/metis-5.1.0-hal6zbzzif2jbcojunoe36l4epw6cqac/include
>  -isystem 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/trilinos-12.12.1-yqgfszu6kimskd24vz5h4wlaxi7tq6en/include
>  -isystem 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/mumps-5.1.1-ecfcy3fzi3noojrzuhc2n4wbsri2a7my/include
>  -isystem 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/hypre-2.13.0-hwqkerj6rfm7mzuwnb3gjggsqvwm7agp/include
>  -isystem 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/suite-sparse-5.1.0-7i3wjnbuiveb45ccgcw3zu2zqrkjna4g/include
>  -isystem 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/superlu-dist-5.2.2-x6zcv3ymem5ilr4rkhjsg65fqh4mdhjy/include
>  -isystem 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/hdf5-1.10.1-e4hecy27gm4bbkcjw7o5rlm5ks5gdvix/include
>  -isystem 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/parmetis-4.0.3-ozqu7yum5rtyfpevexemuyca5tbpgvny/include
>  -isystem 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/matio-1.5.9-ux4v3m3uh46n4yyfq5i5bnohpc3viswr/include
>  -isystem 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/netcdf-4.4.1.1-vufcufzmm4ffdgg2hlyx332chjyan233/include
>  -isystem 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/petsc-3.8.3-lmwlnrxe4vkcpkirqxfz2rkesiynr2qb/include
>  -isystem 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/zlib-1.2.11-xt3uvetpnhkxcaux4ddycsnicznofkzc/include
>  -isystem 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/gsl-2.4-lnc4cv5nphh7a3q4yljawek325tm7v4u/include
>  -isystem 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/oce-0.18.2-un7nocwlake5oahvcxksnpggy7zso2c2/include/oce
>  -isystem 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/p4est-2.0-y5m4noajhmxyljij5rxukokunfcbynju/include
>  -isystem 
> /home/ngiuliani/spack/opt/spack/linux-linuxmint18-x86_64/gcc-7.2.0/slepc-3.8.2-kdgryfco2lpdcfscwg6ptarttke3xkw2/include
>  -I../include -pedantic -fPIC -Wall -Wextra -Woverloaded-virtual 
> -Wpointer-arith -Wsign-compare -Wswitch -Wsynth -Wwrite-strings 
> -Wno-placement-new -Wno-literal-suffix -Wno-psabi -fopenmp-simd -std=c++17 
> -Wno-unused-local-typedefs -O0 -ggdb -Wa,--compress-debug-sections -std=c++14 
> -Og -MD -MT CMakeFiles/bem_stokes_2d.g.dir/source/main.cc.o -MF 
> CMakeFiles/bem_stokes_2d.g.dir/source/main.cc.o.d -o 
> CMakeFiles/bem_stokes_2d.g.dir/source/main.cc.o -c ../source/main.cc
> 
> and It reports
> 
> <command-line>:0:11: error: expected identifier before numeric constant
> <command-line>:0:11: error: expected unqualified-id before numeric constant
> <command-line>:0:11: error: expected unqualified-id before numeric constant
> 
> Looking on the internet I have seen that it should be an error at line 0 
> character 11, but this is one of the "i" in "ngiuiani" so I don't understand.
> 
>  
> 
> The project is compiling with a 9.0pre installation of dealii using spack. I 
> tried two different compilers gcc 5.4 and gcc 7.2 with the same results. On a 
> different Linux machine and on my Mac laptop it compiles. Both Linux machines 
> have the same ARGMAX limit (2097152)
> 
> Do you have any idea on the reasons and possible solutions/debuggin 
> strategies?
> 
> Bests and thank you,
> Nicola
> 
> 
> -- 
> The deal.II project is located at http://www.dealii.org/ 
> <http://www.dealii.org/>
> For mailing list/forum options, see 
> https://groups.google.com/d/forum/dealii?hl=en 
> <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 [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to