[deal.II] Re: Compile my first program

2018-02-02 Thread Sean McGovern
Good to hear. The whole suite of step tutorials is very valuable. 
Best, 
Sean

On Friday, February 2, 2018 at 3:45:23 PM UTC+1, simone cammarasana wrote:
>
> Hello Sean,
>
> well it works perfectly in this way, thank you.
>
> Simone
>

-- 
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: Compile my first program

2018-02-02 Thread simone cammarasana
Hello Sean,

well it works perfectly in this way, thank you.

Simone

-- 
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: Compile my first program

2018-02-02 Thread Sean McGovern
Hi Simone, 

Were you able to successfully compile one of the "step" programs?
 https://www.dealii.org/developer/doxygen/deal.II/step_1.html does a nice 
job describing the approach using cmake. Modifying the CMakeLists.txt of 
one of the step tutorials for your own user code is common.

Best, 
Sean

On Friday, February 2, 2018 at 2:55:35 PM UTC+1, simone cammarasana wrote:
>
> Hello everybody,
>
> I have just started using Deal II (target is to interface it with PETSc) 
> and I've successfully installed it..also make test went good.
>
> Here is my configuration:
> cmake -DCMAKE_INSTALL_PREFIX=~/dealii-8.5.1/build ~ -DEAL_II_WITH_MPI=ON -
> DPETSC_DIR=~~/petsc -DPETSC_ARCH=arch-linux2-c-opt
>
>
>
> Now I have a very simple question..how can I compile my first program?
> I've tried searching into this database but I have not found an 
> appropriate answer.
>
> I've reached, after several trials, a single line compilation like below 
> (I''ve added second include because of a compiling error in "include 
> "
>
> g++ myProg.cc -o myProg.out -I~/build/include -I~~/boost1.60.0-0/include/ 
> -std=c++11
>
> but I still get an error..
> file not present
>  #  include 
>
> Probably I'm completly missing the approach..
> Can anybody give me some suggestion?
>
> thanks a lot
> Simone
>

-- 
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.