Re: [arts-users] ARTS in Ubuntu 18.04

2019-09-19 Thread Goncharenko,Yuriy
Hi Oliver,

  I guess, I have found the origin of the issue:

  I'm still in my home directory (/home/yuriy) after I did "git clone" and I 
did not move to /home/yuriy/arts.
  It means that mkdir -p build makes the directory /home/yuriy/build instead of 
/home/yuriy/arts/build
  Basically, to fix this, user should only run cd arts before making the 
directory /build


  Probably, the error below also linked to some folder mismatch.
Hopefully, it is not the end of the world (hopefully I could download all pdfs 
from the website)

make

[NUMBER OR WARNINGS BUT IT COMPILES]

! LaTeX Error: File `paralist.sty' not found.

Type X to quit or  to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.


l.11 \setlength
   \parindent{0pt} % Removes all indentation from paragraphs - c...

Here is how much of TeX's memory you used:
 4999 strings out of 494923
 81780 string characters out of 6180742
 244377 words of memory out of 500
 8308 multiletter control sequences out of 15000+60
 4709 words of font info for 16 fonts, out of 800 for 9000
 14 hyphenation exceptions out of 8191
 41i,1n,51p,8885b,137s stack positions out of 5000i,500n,1p,20b,15000s
!  ==> Fatal error occurred, no output PDF file produced!
doc/classroom_excercises_solutions/exe2_rtcalc/CMakeFiles/exe2_solution.dir/build.make:60:
 recipe for target 
'doc/classroom_excercises_solutions/exe2_rtcalc/exe2_solution.pdf' failed
make[2]: *** [doc/classroom_excercises_solutions/exe2_rtcalc/exe2_solution.pdf] 
Error 1
CMakeFiles/Makefile2:2106: recipe for target 
'doc/classroom_excercises_solutions/exe2_rtcalc/CMakeFiles/exe2_solution.dir/all'
 failed
make[1]: *** 
[doc/classroom_excercises_solutions/exe2_rtcalc/CMakeFiles/exe2_solution.dir/all]
 Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

PS1: Just in case, This is the list of libraries required to compile ARTS in 
Ubuntu 18.04. Hopefully it could save some time for other users.

   libblas-dev, zlib1g, cmake, libnetcdf-dev, libnetcdff-dev, texlive, doxygen

PS2: Could you include my address into the list arts-users mailing list to get 
the access to arts_users.mi Archives? I tried few times but my email/password 
is still inactive.

Thank you,
  Yuriy





On 9/19/2019 12:11 AM, Oliver Lemke wrote:

Hi Yuriy,



On 19 Sep 2019, at 00:36, Goncharenko,Yuriy 
<mailto:yuriy.gonchare...@colostate.edu> wrote:

Hi Oliver,

  it looks like the module path is set wrong. Basically, the source directory 
is set
as /home/yuriy/  instead of /home/yuriy/arts/



Great that it works now.



I believe it happened because I use
cmake ..
(as it was suggested at the ARTS website) instead of
cmake /home/yuriy/arts/

(as it was suggested in CMakeLists.txt)



There must be something else going on because running 'cmake ..' after cd'ing 
into the 'build' directory worked on every configuration we have encountered in 
testing so far.

One more question concerning your setup (so I can reproduce it for testing): 
Are you using Ubuntu as a standalone Virtual Machine (vmware, virtualbox) or 
did you install the Ubuntu App from the Microsoft Store?

Thanks for pointing out this issue.

Cheers,
Oliver



___
arts_users.mi mailing list
arts_users.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi


Re: [arts-users] ARTS in Ubuntu 18.04

2019-09-18 Thread Goncharenko,Yuriy
Hi Oliver,

  it looks like the module path is set wrong. Basically, the source directory 
is set
as /home/yuriy/  instead of /home/yuriy/arts/

I believe it happened because I use
cmake ..
(as it was suggested at the ARTS website) instead of
cmake /home/yuriy/arts/

(as it was suggested in CMakeLists.txt)

Yuriy







-


From: Oliver Lemke
Sent: Wednesday, September 18, 2019 12:47 AM
To: Goncharenko,Yuriy
Cc: ARTS Users List
Subject: Re: [arts-users] ARTS in Ubuntu 18.04

Hi Yuriy,

Not sure what causes this. Let's first of all check if the module path is set 
correctly. Please make the following change to arts/CMakeLists.txt:

Replace line ~90:

set (CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")

With:

message("@@@ CMP: ${CMAKE_MODULE_PATH}")
set (CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")
message("@@@ CMP: ${CMAKE_MODULE_PATH}")

Now run 'cmake .' in your build directory and check in the terminal output 
whether the value of CMP is really set to /home/yuriy/arts/cmake/modules

Cheers,
Oliver



> On 17 Sep 2019, at 19:46, Goncharenko,Yuriy  
> wrote:
>
> Hello,
>
>  I'm trying to install ARTS in Ubuntu 18.04 on Windows VirtualMachine.
>
>  I got following errors from cmake (ver 3.10.2):
>
> Make Error at CMakeLists.txt:60 (include):
>   include could not find load file:
>
> ArtsTestcases
>
> CMake Error at CMakeLists.txt:144 (include):
>   include could not find load file:
>
> FindNetCDF
>
> CMake Error at CMakeLists.txt:171 (include):
>   include could not find load file:
>
> ArtsAddCompilerFlag
>
>
> CMake Error at CMakeLists.txt:178 (ARTS_ADD_COMPILER_FLAG):
>   Unknown CMake command "ARTS_ADD_COMPILER_FLAG".
>
> all of those files are in: /home/yuriy/arts/cmake/modules
>
> But cmake can not see them. How to fix this problem?
>
> Thank you,
>   Yuriy

___
arts_users.mi mailing list
arts_users.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi


[arts-users] ARTS in Ubuntu 18.04

2019-09-17 Thread Goncharenko,Yuriy
Hello,

  I'm trying to install ARTS in Ubuntu 18.04 on Windows VirtualMachine.

  I got following errors from cmake (ver 3.10.2):

Make Error at CMakeLists.txt:60 (include):
   include could not find load file:

 ArtsTestcases

CMake Error at CMakeLists.txt:144 (include):
   include could not find load file:

 FindNetCDF

CMake Error at CMakeLists.txt:171 (include):
   include could not find load file:

 ArtsAddCompilerFlag


CMake Error at CMakeLists.txt:178 (ARTS_ADD_COMPILER_FLAG):
   Unknown CMake command "ARTS_ADD_COMPILER_FLAG".

all of those files are in: /home/yuriy/arts/cmake/modules

But cmake can not see them. How to fix this problem?

Thank you,
   Yuriy


___
arts_users.mi mailing list
arts_users.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi