Complete list of compile_ae options

This section provides a complete list of options for compile_ae.

The following syntax is supported for using the options:
$NZ_EXPORT_DIR/ae/utilities/bin/compile_ae [OPTION]... <srcfile> [srcfile]
To list all available options, run the following command:
$NZ_EXPORT_DIR/ae/utilities/bin/compile_ae --help
The following list shows all supported options:
--echo
Echo substituted template before running it and the shell output.
--file file
Use specified template file instead of the installed template.
--base base
Base directory for NPS instead of environment NZ_KIT_DIR or /nz/kit. Available as template variable ae_kit.
--ldir base
Base directory for language configurations instead of /nz/export/ae/adapters
--language lang
Specify language configuration to use. Languages are cpp, fortran, java, perl, python64, python3x, r, system available as template variable ae_language.
--version ver
Specify language version to use. Available as template variable ae_lang_ver.
--template name
Specify the template to use. Common ones are compile and deploy.
--user username
NPS username (defaults to environment: NZ_USER). Available as template variable ae_user.
--pw password
NPS password (defaults to environment: NZ_PASSWORD). Available as template variable ae_password.
--db database
NPS database (defaults to environment: NZ_DATABASE). Available as template variable ae_db.
-h, --help
Show this command usage.
General template options include the following predefined template variables:
  • ae_export_dir - location of shared export directory
  • ae_src_file - srcfile arguments
  • ae_sysroot_spu - location of system root on SPU
  • ae_sysroot_host - location of system root on host
  • ae_library_path_spu - LD_LIBRARY_PATH for SPU
  • ae_library_path_host - LD_LIBRARY_PATH for host
--path dir
Location where AE files are stored. Defaults to <ae_export_dir>/ae/applications/<ae_db>/<ae_user>. Available as template variable ae_application_path.
--warn
Warn instead of error if --path does not start with <ae_export_dir>/ae/applications/<ae_db>.
--define var=value
Define template variable.
--idir dir
Install dir for the AE language. Available as template variable ae_install_dir.
--exe name
Set executable name to name. Available as template variable ae_exe_name.
--object name
Set object file name to name. Available as template variable ae_object_name.
--compargs args
Additional arguments to pass to the compiler as is. Available as template variable ae_comp_args.
--linkargs args
Additional arguments to pass to the linker as is. Available as template variable ae_link_args.
--hostcompargs args
Additional arguments to pass to the compiler as is. Available as template variable ae_host_comp_args.
--hostlinkargs args
Additional arguments to pass to the linker as is. Available as template variable ae_host_link_args.
--spucompargs args
Additional arguments to pass to the compiler as is. Available as template variable ae_spu_comp_args.
--spulinkargs args
Additional arguments to pass to the linker as is. Available as template variable ae_spu_link_args.