Q. The command 'fcm make' gives the error: mpif90: command not found? A. This is because the FCM configuration files assume the use of a 'compiler wrapper' which is typically provided by OpenMPI or MPICH installations. Make sure you have OpenMPI installed and you have the OpenMPI 'bin' directory included on your PATH environment variable. For linux use 'apt-get install libopenmpi-dev'. HPC machines may require you to use a 'module' command e.g 'module load openmpi'. Check your local help information.
Q. I get this error, what does it mean? "[FAIL] cpg1c.intfb.h: missing dependency (type=include)" A. FCM has found an include statement: "#include cpg1c.intfb.h" in the source code but can't find the source file cpg1c.F90. Make sure the file exists or FCM is configured to look at all the sources. Q. How do I change where FCM builds the library archive (.a) file before the link stage? A. FCM queries the TMPDIR environment variable. If set it uses that location, otherwise it defaults to /tmp. On HPC systems, /tmp may not be the best choice if it is in memory. Q. What does the $HERE variable in FCM configuration files mean? A. The $HERE variable is a special variable that FCM interprets as the directory in which the configuration file resides. |