Accueil > Équipes > GIGT > EMIR > EMIR Calculators : FAQ


EMIR Calculators : FAQ

Frequently Asked Questions

Par Sebastien Baratchart - 19/06/2006


Troubles with Java PATH

Question :

"jar : `-u’ mode unimplemented."

This is the message that I get when I am trying to install the program.
It seems that there is a problem with "jar".

Answer :

You should use the jar tool provided by jdk.
It exists a jar tool provided by gnu not compliant with the "-u" option.
Search the path of your jdk, and verify that in your PATH environment variable, the jdk directory containing (jdk) jar tool is before the directory containing the (gnu) jar tool. For exemple :
  • Search jar tools with command : "find / -name jar" gives you :
    • /usr/bin/jar
    • /opt/j2sdk1.4.2_08/bin/jar
  • Verify your PATH env. variable : "echo $PATH"
    • Incorrect PATH should be :
      /home/user1/bin :/usr/bin :/opt/j2sdk1.4.2_08/bin :/usr/local/bin
    • Correct PATH should be :
      /home/user1/bin :/opt/j2sdk1.4.2_08/bin :/usr/bin :/usr/local/bin

Using EOPMS with MAC OS X

Question :

I would like to use the EOPMS on my Mac OS X, but the installation fail. What should I do ?

Answer :

The use of this platform has not be completly tested yet. However, it seems that the following is working :
  • 1) manually copy the "jni.h" and "jni_md.h" from your system to the ’$EOPMS_DIR/include’ directory in the package before installation.
  • 2) After compiling the C++, make copies of two libraries in the ’$EOPMS_DIR/lib’ directory, as follows :
    • "cp libEopmsLib.dylib libEopmsLib.jnilib"
    • "cp libXmlparser.dylib libXmlparser.jnilib"
  • 3) define the environment variable DYLD_LIBRARY_PATH to include the ’$EOPMS_DIR/lib’ directory.

Flat spectrum

Question :

When I do an ETC or IS computation, I sometimes get a flat spectrum, even if I asked for a power law, for example. Why ?

Answer :

Several spectral energy distributions are not implemented yet, like the power laws, black bodies or the Quasar model.
In that case, the software will assume a flat spectral energy distribution (in monochromatic flux f_lambda) for the source light.



[Page Précédente] [Dans la même rubrique] [Sommaire]



Site du CNRS Logo OMP
Logo UPS



Sur ce site


Laboratoire Astrophysique de Toulouse - Tarbes (UMR5572)

CNRS (Midi-Pyrénées)

Univ. Paul Sabatier

Liens utiles

Accueil Imprimer Contact mail Plan du site Crédits