Re: [deal.II] Error on runnig the examples

2019-07-31 Thread 'Maxi Miller' via deal.II User Group
Apparently you did not install the library correct, there is no *.so-file 
in that folder. Maybe try to reinstall it?

Am Mittwoch, 31. Juli 2019 09:38:17 UTC+2 schrieb Javad Hashemi:
>
> Dear Dr. Bangreth,
>
> I really appreciate your email. I checked the lib folder and you can see 
> the list of files as follow:
>
> root@Lenovo-PC:~#  ls -l /root/math/dealii-9.1.1/lib/
> total 0
> drwxrwxrwx 1 root root 4096 Jul 28 02:11 cmake
> drwxrwxrwx 1 root root 4096 Jul 28 02:12 pkgconfig
>
> would you please help me to know the reason for the error?
>
> Thanks.
> Sincerely,
>
> Javad 
>
>
>
>
> On Tue, Jul 30, 2019 at 12:19 PM Wolfgang Bangerth  > wrote:
>
>> On 7/30/19 5:41 AM, Javad Hashemi wrote:
>> > All files exist and accessible. 
>>
>> But it doesn't seem to be available when you run cmake. Can you show us 
>> what you get when you do
>>ls -l /root/math/dealii-9.1.1/lib/
>> ? I will note that in general, it's a bad idea to run things as root. 
>> You should be running your programs as a regular user.
>>
>> 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 dea...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dealii/4abe20d1-d7a8-4b24-4660-3498d3993a87%40colostate.edu
>> .
>>
>

-- 
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/ca27c645-e19a-469b-86b3-fff73cc980f9%40googlegroups.com.


Re: [deal.II] Error on runnig the examples

2019-07-31 Thread Javad Hashemi
Dear Dr. Bangreth,

I really appreciate your email. I checked the lib folder and you can see
the list of files as follow:

root@Lenovo-PC:~#  ls -l /root/math/dealii-9.1.1/lib/
total 0
drwxrwxrwx 1 root root 4096 Jul 28 02:11 cmake
drwxrwxrwx 1 root root 4096 Jul 28 02:12 pkgconfig

would you please help me to know the reason for the error?

Thanks.
Sincerely,

Javad




On Tue, Jul 30, 2019 at 12:19 PM Wolfgang Bangerth 
wrote:

> On 7/30/19 5:41 AM, Javad Hashemi wrote:
> > All files exist and accessible.
>
> But it doesn't seem to be available when you run cmake. Can you show us
> what you get when you do
>ls -l /root/math/dealii-9.1.1/lib/
> ? I will note that in general, it's a bad idea to run things as root.
> You should be running your programs as a regular user.
>
> 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/4abe20d1-d7a8-4b24-4660-3498d3993a87%40colostate.edu
> .
>

-- 
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/CAHYx84Ov%3DweBEiJd%3Dhqk5sNhpNow%3DDKaCueLdcgncxtDFDuKmg%40mail.gmail.com.


Re: [deal.II] Error on runnig the examples

2019-07-30 Thread Wolfgang Bangerth
On 7/30/19 5:41 AM, Javad Hashemi wrote:
> All files exist and accessible. 

But it doesn't seem to be available when you run cmake. Can you show us 
what you get when you do
   ls -l /root/math/dealii-9.1.1/lib/
? I will note that in general, it's a bad idea to run things as root. 
You should be running your programs as a regular user.

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/4abe20d1-d7a8-4b24-4660-3498d3993a87%40colostate.edu.


Re: [deal.II] Error on runnig the examples

2019-07-30 Thread Javad Hashemi
All files exist and accessible. Also, Cmake files are generated in the 
step-1 folder. But, I do not know why it does not work. I hope to get a 
suggestion for solving the problem.

Thanks, 

Javad
 

On Monday, July 29, 2019 at 9:13:21 AM UTC-4, Daniel Arndt wrote:
>
> Javad,
>
> I installed Dealii-9.1.1 successfully. So, I wanted to run step-1 and 
>> followed the command lines based on README instruction. But, I have faced 
>> an error that you can see as follow:
>>
>> root@Lenovo-PC:~/math/dealii-9.1.1/examples/step-1# cmake 
>> -DDEAL_II_DIR=/root/bin/dealii-9.1.1/ .
>> [...]
>> root@Lenovo-PC:~/math/dealii-9.1.1/examples/step-1# make
>> Scanning dependencies of target step-1
>> [ 50%] Building CXX object CMakeFiles/step-1.dir/step-1.cc.o
>> make[2]: *** No rule to make target 
>> '/root/math/dealii-9.1.1/lib/libdeal_II.g.so.9.1.1', needed by 'step-1'.  
>> Stop.
>> [...]
>>
>
> It looks like /root/math/dealii-9.1.1/lib/libdeal_II.g.so.9.1.1 is not 
> accessible. Does this file exist? Is it readable?
> Anyway, you should just install deal.II anew and make sure that the file 
> exists in the installation directory.
>
> Best,
> Daniel
>
>

-- 
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/ade492c7-9e88-491d-b69c-3595dee62801%40googlegroups.com.


Re: [deal.II] Error on runnig the examples

2019-07-29 Thread Daniel Arndt
Javad,

I installed Dealii-9.1.1 successfully. So, I wanted to run step-1 and
> followed the command lines based on README instruction. But, I have faced
> an error that you can see as follow:
>
> root@Lenovo-PC:~/math/dealii-9.1.1/examples/step-1# cmake
> -DDEAL_II_DIR=/root/bin/dealii-9.1.1/ .
> [...]
> root@Lenovo-PC:~/math/dealii-9.1.1/examples/step-1# make
> Scanning dependencies of target step-1
> [ 50%] Building CXX object CMakeFiles/step-1.dir/step-1.cc.o
> make[2]: *** No rule to make target
> '/root/math/dealii-9.1.1/lib/libdeal_II.g.so.9.1.1', needed by 'step-1'.
> Stop.
> [...]
>

It looks like /root/math/dealii-9.1.1/lib/libdeal_II.g.so.9.1.1 is not
accessible. Does this file exist? Is it readable?
Anyway, you should just install deal.II anew and make sure that the file
exists in the installation directory.

Best,
Daniel

-- 
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/CAOYDWbLyykSzZ7bPx09ZJMxPNOuu0spQXFwwz_zW7rFegBwW3Q%40mail.gmail.com.


[deal.II] Error on runnig the examples

2019-07-28 Thread Javad Hashemi
Hey Guys,

I installed Dealii-9.1.1 successfully. So, I wanted to run step-1 and 
followed the command lines based on README instruction. But, I have faced 
an error that you can see as follow:

root@Lenovo-PC:~/math/dealii-9.1.1/examples/step-1# cmake 
-DDEAL_II_DIR=/root/bin/dealii-9.1.1/ .
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /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: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- 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-1  set up with  deal.II-9.1.1  found at
#  /root/math/dealii-9.1.1
#
#  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 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
#   files (includes clean, runclean and the 
removal
#   of the generated build system)
#   $ make info   - to view this message again
#
#  Have a nice day!
#
###
-- Configuring done
-- Generating done
-- Build files have been written to: /root/math/dealii-9.1.1/examples/step-1
root@Lenovo-PC:~/math/dealii-9.1.1/examples/step-1# make
Scanning dependencies of target step-1
[ 50%] Building CXX object CMakeFiles/step-1.dir/step-1.cc.o
make[2]: *** No rule to make target 
'/root/math/dealii-9.1.1/lib/libdeal_II.g.so.9.1.1', needed by 'step-1'.  
Stop.
CMakeFiles/Makefile2:163: recipe for target 'CMakeFiles/step-1.dir/all' 
failed
make[1]: *** [CMakeFiles/step-1.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
root@Lenovo-PC:~/math/dealii-9.1.1/examples/step-1# make run
make[3]: *** No rule to make target 
'/root/math/dealii-9.1.1/lib/libdeal_II.g.so.9.1.1', needed by 'step-1'.  
Stop.
CMakeFiles/Makefile2:163: recipe for target 'CMakeFiles/step-1.dir/all' 
failed
make[2]: *** [CMakeFiles/step-1.dir/all] Error 2
CMakeFiles/Makefile2:138: recipe for target 'CMakeFiles/run.dir/rule' failed
make[1]: *** [CMakeFiles/run.dir/rule] Error 2
Makefile:144: recipe for target 'run' failed
make: *** [run] Error 2

Would you please help me?

Sincerely,

Javad

-- 
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/dae6144f-0fc4-4b00-a2d7-e0627fdc3c8c%40googlegroups.com.