Setup Page

This is the generated config.php file. Please copy the "; echo "text below into $WebTrilinosDirectory/common/config.php. "; echo "You might want to keep a copy of the original config.php file. "; echo "Note that the <? and ?> characters must be included in the file, "; echo "and that each variable content must be on the same line."; echo ""; echo ""; echo "<?
"; echo '$WebTrilinosDirectory = "'. $WebTrilinosDirectory . '";
'; echo '$HTMLImageDirectory = "'. $HTMLImageDirectory . '/tmp/";
'; echo '$TempDirectory = "'. $TempDirectory . '";
'; echo '$INCLUDES = "'. $INCLUDES . '";
'; echo '$LDFLAGS = "'. $LDFLAGS . '";
'; echo '$LIBS = "'. $LIBS . '";
'; echo '$PYTHONPATH = "'. $PYTHONPATH . '";
'; echo '$CXX = "'. $CXX . '";
'; echo '$WebHost = "'. $WebHost . '";
'; echo '$HBMatrixDirectory = "'. $WebTrilinosDirectory . '/data/HB/";
'; echo '$MMMatrixDirectory = "'. $WebTrilinosDirectory . '/data/MM/";
'; echo '$XMLMatrixDirectory = "'. $WebTrilinosDirectory . '/data/XML/";
'; echo '$ImageDirectory = "'. $WebTrilinosDirectory . '/tmp/";
'; echo '$Password = "'. $Password . '";
'; echo "?>"; echo "
"; echo "

"; echo "

This is instead the generated config.py file. Please copy the"; echo " text below into $WebTrilinosDirectory/common/config.py. "; echo "

"; echo ""; echo "MAX_MATRIX_ROWS = 256 * 256
"; echo "MAX_MATRIX_NONZEROS = 256 * 256 * 5
"; echo "MAX_ITERATIONS = 1550
"; echo "MAX_KSPACE = 60
"; echo 'HB_REPOSITORY = "' . $WebTrilinosDirectory . '/data/HB"
'; echo 'MM_REPOSITORY = "' . $WebTrilinosDirectory . '/data/MM"
'; echo 'XML_REPOSITORY = "' . $WebTrilinosDirectory . '/data/XML"
'; echo "
"; echo ""; echo "
"; echo "
"; echo "If these settings are correct, proceed to the "; echo "testing page."; echo "
"; echo "
"; echo "
"; echo "
"; } ?>

The settings for WebTrilinos are contained in the file WebTrilinos/common/config.php. The simplest way to update this file is to read this page, and fill the form below. Then, by clicking on the button at the bottom of the page, you'll have the config.php for your system. File WebTrilinos/common/config.html explains the content of the file.

Please specify the location of the WebTrilinos files. The files in this directory must be in the location of your httpdocs, as specified by your web server. If you are looking at this page from the web, your already know the location of your httpdocs! A possible value could be /var/www/html/WebTrilinos.

Please specify the HTTP location of the web site hosting WebTrilinos. A typical value is of type http://my.site.com/WebTrilinos/.

Please specify the location of the temp files directory. These files do not need to be accessible from the web. A typical value is /tmp/.

Please specify the location of Trilinos' header files. A typical value is -I/my_trilinos_home/LINUX_SERIAL/include/ (note the -I before the directory; you might need more than one -I<dir>).

Please specify the LDFLAGS for the linking of Trilinos' examples. A typical value is -L/my_trilinos_home/LINUX_SERIAL/lib/ (note the -L before the directory; you might need more than one directory, like for instance also -L/my/home/lib).

Please specify the LIBS for the linking of Trilinos' examples. A typical value can be: -lml -lifpack -laztecoo -lamesos -lgaleri -lepetraext -lepetra -lteuchos -llapack -lblas. You might need -lf2c -lm, depending on the installations. Other Trilinos third-party libraries may be needed as well (for example, -lmetis depending on your configuration). If you don't know how to specify this variable, you can jump into the build directory, go to packages/WebTrilinos/c++/examples/ml, type make, and give a look to the linked libraries.

Please specify the full path for python packages. The variable below will be used to set PYTHONPATH before running Python; if more than one path is needed, you can use : to divide them (without spaces). A typical value is: my_trilinos_home/LINUX_SERIAL/lib/python2.4/site-packages/.

Please specify the C++ compiler to be used. A typical value is g++.

Please specify the name of the web server hosting WebTrilinos. This string will appear at the bottom of the page. You can leave this blank if you want.

Please specify the a password for the upload section of MatrixPortal. Trusted users will be able to upload matrices in Harwell/Boeing, MatrixMarket and XML format.



Go to the setup testing, or go back to the home page.

For more details, please check the official WebTrilinos' web page.