Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
known_bugs [2012/02/22 11:07]
robert
known_bugs [2024/02/08 13:40] (current)
admin
Line 1: Line 1:
 ==== libRadtran doesn'​t compile ==== ==== libRadtran doesn'​t compile ====
 **Solution:​** When compiling uvspec, please make sure that you have all required compilers and tools installed, see [[Download]]. For the newer versions of Linux, some of the standard tools are no longer installed by default (as modern users don't want to fiddle around with such ugly things as compilers etc). One particular example is Flex - The Fast Lexical Analyzer. It is usually available for all flavours of Linux, under Mac, and for cygwin, but not necessarily installed by default. You may have to select installation of flex manually. If you have tried compiling uvspec without having flex installed, you may need to remove src/​*_lex.c. ​ **Solution:​** When compiling uvspec, please make sure that you have all required compilers and tools installed, see [[Download]]. For the newer versions of Linux, some of the standard tools are no longer installed by default (as modern users don't want to fiddle around with such ugly things as compilers etc). One particular example is Flex - The Fast Lexical Analyzer. It is usually available for all flavours of Linux, under Mac, and for cygwin, but not necessarily installed by default. You may have to select installation of flex manually. If you have tried compiling uvspec without having flex installed, you may need to remove src/​*_lex.c. ​
- 
- 
-==== I have problems compiling libRadtran under Ubuntu 11.10 ==== 
- 
-When compiling and linking libRadtran under Ubuntu 11.10 the following error message may be encountered:​ 
- 
-  "/​usr/​lib/​gcc/​i686-linux-gnu/​4.6.1/​../​../​../​../​lib/​libgsl.so:​ undefined reference to `cblas_dasum'"​ 
- 
-  
-This is caused by the order of which libraries are passed to the linker. The order was irrelevant for earlier version of Ubuntu. Why they choose to change this I do not know. Anyway, here is the fix to link libRadtran. First open the file configure.in in your favorite editor. Search for the line that says: 
- 
-  LIBGSL="​-lgslcblas -lgsl -lm" 
- 
-Change this line to 
- 
-  LIBGSL="​lgsl -lgslcblas -lm" 
- 
-Note the change in the order of the gsl and gslcblas libraries........ 
- 
-Run "​autoconf"​ to create a new configure from configure.in and then execute ./​configure. Next follow the normal libRadtran compilation and linking procedure. The autoconf program is normally not installed on all systems. You may thus have to install it first. ​ 
- 
-==== I get the following error message using disort ==== 
- 
-  ∗∗∗∗ Input variable ds.utau in error  **** 
-  ​ 
-  ∗∗∗∗∗∗∗ ERROR >>>>>> ​ DISORT--input and/or dimension errors 
- 
-Solution: 
- 
-Please replace line 6051 in libsrc_c/​cdisort.c:​ 
- 
-        if (fabs(UTAU(lu)-TAUC(ds->​nlyr)) <= 1.e-4) { 
- 
-by 
- 
-        if (fabs(UTAU(lu)-TAUC(ds->​nlyr)) <= 1.e-6*TAUC(ds->​nlyr)) { 
- 
- 
-and recompile (make) 
- 
  
 
 
known_bugs.1329908823.txt.gz · Last modified: 2012/02/22 11:07 by robert
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki