Personal tools

LS-OPT cannot find the output file from the FE preprocessor

The following are possible:

  • The Preprocessor executable was not found. The path to the executable can be wrong if you moved the LS-OPT command file to a different directory or if you received the command file from a third party.

  • The preproccesor does not create an input file. This is an unusual but possible error (if the script was tested beforehand). It may also happen that the preprocessor is unable to create a model for some design configurations.

  • The preprocessor wrote the output file to the incorrect directory. This was reported in the past (i) when running Truegrid on MS Windows and (ii) when LS-PREPOST have to open a file in a different directory on Linux. A solution here is to write a script that executes the prepocessor and copies the output file to where it should be. For example, a python script working with LS-PREPOST:

    import os
     os.system( "lsprepost c=UserPreproOpt.inp" )
     os.system( "mv ../../lspp.out ." )