Ignore:
Timestamp:
Mar 30, 2011, 12:55:46 PM (14 years ago)
Author:
gah
Message:
 
Location:
branches/blt4/examples/app-fermi
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • branches/blt4/examples/app-fermi/cee/Makefile.in

    r1948 r2172  
    2222INCLUDES        = -I$(srcdir)/../../../src/core
    2323LIBS            = -L../../../src/core -lrappture \
    24                   -L$(libdir) -lexpat -lz
     24                  -L$(libdir) -lexpat -lz -lm
    2525
    2626CC_SWITCHES     = $(CFLAGS) $(CDEBUGFLAGS) $(DEFINES) $(INCLUDES)
  • branches/blt4/examples/app-fermi/fortran/Makefile.in

    r1948 r2172  
    2222INCLUDES        = -I$(srcdir)/../../../src/core
    2323LIBS            = -L../../../src/core -lrappture \
    24                   -L$(libdir) -lexpat -lz
     24                  -L$(libdir) -lexpat -lz -lm
    2525
    2626FC_SWITCHES     = $(FCFLAGS) $(FCDEBUGFLAGS) $(DEFINES) $(INCLUDES)
  • branches/blt4/examples/app-fermi/java/Fermi.java

    r1744 r2172  
    2222    // read the input values and convert to correct units
    2323    String Tstr = driver.get("input.number(temperature).current");
    24     double T = Double.valueOf(rappture.Units.convert(Tstr, "K", false));
     24    double T = Double.valueOf(rappture.Units.convertString(Tstr, "K", false));
    2525    String Efstr = driver.get("input.number(Ef).current");
    26     double Ef = Double.valueOf(rappture.Units.convert(Efstr, "eV", false));
     26    double Ef = Double.valueOf(rappture.Units.convertString(Efstr, "eV", false));
    2727
    2828    // Set the energy range and step size
  • branches/blt4/examples/app-fermi/java/Makefile.in

    r1948 r2172  
    1515
    1616JAVAC           = @JAVAC@
    17 CLASSPATH       = $(libdir)/java:../../../lang/java
     17CLASSPATH       = ../../../lang/java:$(libdir)/java
    1818
    1919destdir         = $(prefix)/examples/app-fermi/java
  • branches/blt4/examples/app-fermi/octave/Makefile.in

    r1948 r2172  
    1313
    1414INSTALL         = @INSTALL@
     15MKDIR_P         = @MKDIR_P@
    1516
    16 all: all_2 all_3
     17SUBDIRS         = 2 3
    1718
    18 all_2:
    19         $(MAKE) -C 2 all
     19all:
     20        for i in $(SUBDIRS) ; do \
     21          $(MAKE) -C $$i all || exit 1 ;\
     22        done
    2023
    21 all_3:
    22         $(MAKE) -C 3 all
    23 
    24 
    25 install: install_2 install_3
    26 
    27 install_2:
    28         $(MAKE) -C 2 install
    29 
    30 install_3:
    31         $(MAKE) -C 3 install
     24install:
     25        for i in $(SUBDIRS) ; do \
     26          $(MAKE) -C $$i install || exit 1 ;\
     27        done
    3228
    3329clean:
     30        for i in $(SUBDIRS) ; do \
     31          $(MAKE) -C $$i clean ;\
     32        done
    3433
    3534distclean: clean
  • branches/blt4/examples/app-fermi/wrapper/cee/Makefile.in

    r1948 r2172  
    2222INCLUDES        = -I$(srcdir)/../../../../src/core
    2323LIBS            = -L../../../../src/core -lrappture \
    24                   -L$(libdir) -lexpat -lz
     24                  -L$(libdir) -lexpat -lz -lm
    2525
    2626CC_SWITCHES     = $(CFLAGS) $(CDEBUGFLAGS) $(DEFINES) $(INCLUDES)
  • branches/blt4/examples/app-fermi/wrapper/cee/fermi.c

    r1933 r2172  
    7373    err = system("octave --silent fermi.m < indeck");
    7474
    75     if (err != 0) {
     75    if (err == 1) {
    7676        fprintf(stderr,"%s: calling octave science program failed",prog);
    7777        exit(err);
     
    9696    fp = fopen("out.dat","r");
    9797    if (fp == NULL) {
    98         fprintf(stderr,"%s: Error while writing to out.dat", prog);
     98        fprintf(stderr,"%s: Error while writing to out.dat",prog);
    9999        exit(1);
    100100    }
Note: See TracChangeset for help on using the changeset viewer.