Changes between Version 12 and Version 13 of SpaceGroupInterpreter
- Timestamp:
- Oct 30, 2015 11:53:51 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SpaceGroupInterpreter
v12 v13 34 34 === Compiling and linking pyspg.for === 35 35 36 A sample [https://subversion.xray.aps.anl.gov/pyGSAS/trunk/fsource/Makefile Makefile] is provided to compile and link the Fortran routines used in GSAS-II. In all likelihood, all that is needed to changed in the file will be to provide values for the variables: 36 Compiled shared libraries for this are already provided for all supported platforms, but for those who want to compile code or port to other platforms, 37 the Fortran source code used in GSAS-II is built with the Python scons utility based on the input in file [https://subversion.xray.aps.anl.gov/pyGSAS/trunk/fsource/SConstruct SConstruct] is provided to compile and link the Fortran routines used in GSAS-II and these options work for us on Windows, Mac and Linux. You could find that some options do not default properly for you, if so typing: 37 38 38 * COMPILER: this defines the compiler options supplied to f2py 39 * PACKCOPTS: this defines extra compiler options needed to compile the pack_f program (not used in GSASIIspg) 40 * SUFFIX: name added to produced library (pyd or so) 41 * F2PY: name of f2py program (f2py.py or f2py, if not in path, include a full path name.) 42 * MOVE: name of program used to copy or move the compiled/linked library to directory bin/ 43 * DEL: delete command to be used after a copy or move 44 * GSASlib: full path to GSAS library (needed only for pypowder, not used in GSASIIspg). 45 The provided [https://subversion.xray.aps.anl.gov/pyGSAS/trunk/fsource/Makefile Makefile] has examples that have been used on all three platforms. 39 {{{ scons help}}} 40 41 will display information on the command-line options that can be accessed for customization.