If after typing './configure,' no options are listed, or the options are not for your platform



If some options are listed, but they are not for your platform:

  1. Pick one of the options that is closest to your platform
  2. Edit configure.wrf for this option and change the compiler flags to match your platform. This may take some trial and error.

If no options are listed:

  1. To solve this, you will have to add new configuration information for your particular platform. To obtain information regarding your particular platform, type the following on the command line:
    uname -a
  2. Edit the arch/configure_new.defaults file (all configuration information is located in this file). Each available configuration is contained within a block that looks like:
    ################################################
    #ARCH
    ################################################
  3. With the information you obtained with the uname -a command, locate a configuation that looks similar to your platform. Copy this configuration, to the end of the arch/configure.defaults file. Now edit this new section to reflect the configuration of your platform.



  4. – Start with a serial configuration and get this working before attempting to compile the code with OpenMP or MPI.

    – Start with a configuration that is similar to yours, such as the same compiler.

    – Make sure that you see your new option as a selection (when you type ./configure) before adding too much information to the configure.defaults file.




Information in the #ARCH line must match the information you obtained from the uname -a command, as this same command will be used by the scripts to match condifurations to your architecture.

Flags in the configuration you may need to pay attention to are:

SFC =
SCC =
FC =
LD =
CC =
PROMOTION =
CFLAGS =
FCOPTIM =
FCBASEOPTS =
FCSUFFIX =
ARCHFLAGS =
PERL =
LIB =
CPP =
NETCDFPATH =