Q. How to compare the CCL (CFX 5 Command Language) in two different definition or results files?
A. The easiest way to compare them is to use the cfx5dfile command. From the CFX 5 Launcher, go to Tools>Command line.
At the command prompt type in the following:
cfx5dfile file1.def -compare-cmds file2.def
Return. The output will list differences in the CCL. The new and old values are listed. In the following example I am comparing the CCL in a definition and results file:
> cfx5dfile 1390c.def -compare-cmds 1390c_001.res
The output is:
EXECUTION CONTROL:
PARALLEL HOST LIBRARY:
HOST DEFINITION: wilc030
Host Architecture String = <undef> -> intel_p4.sse2_linux2.2.5
Installation Root = <undef> -> /home/CFX/CFX-5.7
END
END
SOLVER STEP CONTROL:
EXECUTABLE SELECTION:
Double Precision = <undef> -> Yes
END
PARALLEL ENVIRONMENT:
Start Method = <undef> -> Serial
END
END
RUN DEFINITION:
Definition File = <undef> -> 1390c.def
Run Mode = <undef> -> Full
END
END
COMMAND FILE:
Results Version = <undef> -> 5.7
END
For a full list of options use "cfx5dfile -help".
You can always use the cfx5cmds command to extract the CCL from a def/res file into a text file and compare them manually.
cfx5cmds -read -def *.def -text *.ccl
Q. How to compare the CCL (CFX 5 Command Language) in two different definition or results files? A. The easiest way to compare them is to use the cfx5dfile command. From the CFX 5 Launcher, go to Tools>Command line. At the command prompt type in the following: cfx5dfile file1.def -compare-cmds file2.def Return. The output will list differences in the CCL. The new and old values are listed. In the following example I am comparing the CCL in a definition and results file: > cfx5dfile 1390c.def -compare-cmds 1390c_001.res The output is: EXECUTION CONTROL: PARALLEL HOST LIBRARY: HOST DEFINITION: wilc030 Host Architecture String = <undef> -> intel_p4.sse2_linux2.2.5 Installation Root = <undef> -> /home/CFX/CFX-5.7 END END SOLVER STEP CONTROL: EXECUTABLE SELECTION: Double Precision = <undef> -> Yes END PARALLEL ENVIRONMENT: Start Method = <undef> -> Serial END END RUN DEFINITION: Definition File = <undef> -> 1390c.def Run Mode = <undef> -> Full END END COMMAND FILE: Results Version = <undef> -> 5.7 END For a full list of options use "cfx5dfile -help". You can always use the cfx5cmds command to extract the CCL from a def/res file into a text file and compare them manually. cfx5cmds -read -def *.def -text *.ccl |
||
|