ports/math/blacs/files/pkg-message.in
2021-03-02 21:18:43 +00:00

23 lines
688 B
Text

[
{ type: install
message: <<EOM
Please test your blacs installation
Test programs are located at %%PREFIX%%/share/BLACS/TESTING
Example:
% cd %%PREFIX%%/share/BLACS/TESTING
% %%LOCALBASE%%/bin/mpirun -np 4 ./xCbtest_MPI-FreeBSD
% %%LOCALBASE%%/bin/mpirun -np 4 ./xFbtest_MPI-FreeBSD
Or, if you're using OpenMPI:
% cd %%PREFIX%%/share/BLACS/TESTING
% LD_LIBRARY_PATH=%%LOCALBASE%%/mpi/openmpi/lib/ export LD_LIBRARY_PATH
% PATH=$PATH:%%LOCALBASE%%/mpi/openmpi/bin/ export PATH
% mpirun -np 4 ./xCbtest_MPI-FreeBSD
% mpirun -np 4 ./xFbtest_MPI-FreeBSD
You can change -np 4 to any number to meet your local environment.
See files at %%DOCSDIR%% for detail.
EOM
}
]