Previous Next        Current Page: NeXtMidas Training / X-Midas Interoperability / XBC / XBC Setup
back
+ Start Here   
+ Background   
+ Common Midas Concepts   
+ Getting Started - Part 1   
+ Getting Started - Part 2   
+ Working with Files   
+ Option Trees   
+ Macros - Part 1 (Basics)   
+ Macros - Part 2 (Graphics)   
+ NetBeans - Part 1 (Setup)   
+ NetBeans - Part 2 (GUIs)   
+ NetBeans - Part 3 (Profiler)   
+ Eclipse - Part 1 (Setup)   
+ Eclipse - Part 2 (GUIs)   
+ Primitives   
+ WebStart   
+ Maps & Imagery   
- X-Midas Interoperability   
   + Overview   
   - XBC   
      - XBC Setup   
      - Adding Host Primitives   
      - Messages   
         - Configured Messages   
         - Unconfigured Messages   
   + Lab 1   
   + NeXtOpt   
+ RMIF & Remoting   
+ Installing NeXtMidas   
+ Support & Maintenance   
+ File Handlers   


  • Fortran and C/C++ compilers:
    • Fortran compiler and C/C++ compilers are required for use with XBC. A complete list of supported compilers is in the NeXtMidas User's Guide.
      • From time to time people ask why a Fortran and/or C/C++ compilers are required for XBC. The answer is simple: because XBC is for using Fortran and C++ host primitives from NeXtMidas.
    • By default NeXtMidas will try to use the Intel compiler, unless XM_FORTRAN or NM_FORTRAN is set to the compiler name (ifc, ifort, pfc).
      • XM_FORTRAN is usually set by X-Midas.
      • NM_FORTRAN overrides XM_FORTRAN and is ignored by X-Midas.
  • Setup for XBC:
    1. Add the XBC option tree to the path.
    2. Build XBC using:
      nM> make all xbc
  • Important notes:
    • Always use MAKE ALL <OPT> when building any option tree with X-Midas primitives. Failure to do this can cause problems for the X-Midas message configuration.
    • Always make sure that XBC is on the path before building or using any host primitives.
Don't Make This Mistake:
Caution sign A known issue exists that will prevent the XBC option tree from building successfully when using 64-bit Intel 9.1/10.x/11.x Fortran compilers for NeXtMidas versions prior to 2.9.2.

To work-around this issue: Open $NMROOT/nxm/sys/cfg/build.props. Next, remove the -i-static flag from ifort.comp and ifort.link lines. Once finished, follow the instructions under Setup for XBC to build the XBC option tree. Once this flag is disabled, users will need to run with the LD_LIBRARY_PATH set to include the Intel libraries.

back