Re: [arts-users] ARTS in Ubuntu 18.04

2019-09-18 Thread Oliver Lemke
Hi Yuriy,

> On 19 Sep 2019, at 00:36, Goncharenko,Yuriy  
> 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



smime.p7s
Description: S/MIME cryptographic signature
___
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