To test the product installation and the critical search paths, build and run a sample application.
PRINT *, "Hello World!"
END
If you have set up the short invocation commands, enter the following command:
bgxlf hello.f -o hello
If
you have not set up the short invocation commands, enter the following
command: installation_path/xlf/bg/14.1/bin/bgxlf hello.f -o hello
where installation_path is
the installation location of the compiler packages. If the compiler
has been installed to the default location, installation_path is /opt/ibmcmp/. If short invocation commands have been set up, enter the following command:
bgxlf hello.f -o hello
If
short invocation commands have not been set up, enter the following
command: /opt/ibmcmp/xlf/bg/14.1/bin/bgxlf hello.f -o hello
./hello
The result is "Hello World!".
echo $?
The result is "0".