Paul,
we have the following problem: we want to compile a large code consisting of 350 subroutines in a specific directory. For this task we work with the following batch file:
del comp.lis
del *.obj
del *.exe
ftn95 DataTypes.f95 /checkmate /Full_Debug >> comp.lis
ftn95 CommonData_Broyden.f95 /checkmate /Full_Debug >> comp.lis
ftn95 Global_data.f95 /checkmate /Full_Debug >> comp.lis
ftn95 Utilities.f95 /checkmate /Full_Debug >> comp.lis
ftn95 *.f95 /Checkmate /full_debug >> comp.lis
This standard procedure has worked for decades. However, when we put the files in a directory with the path
D:\\TU_Release\\v1m1j10\\No Numerical Recipes\\Transuranus\\TU_Input_Examples\\Test\\Compilation
we get after the compilation of few subroutines the error message
*** /NT_MULTIPLE_COMPILATàðÍ is not a valid option on the command line - use
FTN95 /? for valid options
However, when we shorten the name of the path somewhat, say to
D:\\TU_Release\\v1m1j10\\No Numerical Recipes\\Transuranus\\TU_Input_Examples\\Test\\Comp
the compilation works without problems.
Of course we have tried to analyze the problem. Blanks in names of subdirectories are allowed (except at the end of the name), underscores as well. The maximal allowed path length of 256 is by far not exceeded. We cannot see that the name of the path is incorrect. We have also checked that no old versions of salflibc.* etc. are in this directory. We have further checked whether in the manual some restrictions for the path name are given, but we could not find any. In addition, we have checked this behaviour on different PCs (all using XP Professional, SP3).
My question is therefore whether we have overlooked something or whether there are restrictions for the path names included in FTN95.
This is not an urgent problem but certainly a problem of interest.
Best regards,
- Lassmann [/code]