Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent Polarizability Results on Different Machines Using "scuff-static" #247

Open
aidin151 opened this issue Sep 30, 2024 · 0 comments

Comments

@aidin151
Copy link

Description:
I am using scuff-static from the SCUFF-EM package to calculate the polarizability of a given geometry. However, I am experiencing discrepancies in the .pol file outputs generated on two different machines, despite identical SCUFF-EM installations, geometry files, and computational setups. The calculated polarizability values differ significantly between the two machines.
So, I’m seeking guidance on whether the differences in polarizability results could be due to hardware-specific floating-point behavior or optimization settings. Any suggestions for further debugging steps would be appreciated.

 System Information:

  • Old Computer:
      - Processor: Intel Xeon E3-1240 v5 @ 3.50GHz
      - OS: Ubuntu 22.04 LTS
      - SCUFF-EM Version: Latest from GitHub (cloned Sept 20, 2024)
      - GCC Version: 11.4.0
      - Parallelization: Disabled (also tested with it enabled)

  • New Computer:
      - Processor: Intel Xeon w9-3475X @ 4.40GHz
      - OS: Ubuntu 22.04 LTS
      - SCUFF-EM Version: Latest from GitHub (cloned Sept 29, 2024)
      - GCC Version: 11.4.0
      - Parallelization: Disabled (also tested with it enabled)

 Steps Taken:

  1. Polarizability Calculation Setup:
       - Used identical geometry files (.scuffgeo) and mesh files (.msh) on both machines.
       - Executed scuff-static with identical parameters to calculate polarizability and generate .pol files.

  2. Identical SCUFF-EM Installations:
       - Verified that both machines have the same scuff-static binary (MD5 checksum matches).
       - Checked the linked libraries with ldd and confirmed they are the same on both machines.

  3. Floating-Point Precision:
       - Tried forcing both single and double precision using the -ffloat-store flag, but the discrepancies persisted.

  4. Parallelization:
       - Disabled OpenMP and rebuilt SCUFF-EM on both machines, but the issue remained.

  5. HDF5:
       - Built SCUFF-EM without HDF5 support (--without-hdf5) on both machines due to missing hdf5.h.
      

  6. Processor Differences:
       - Suspect hardware-specific floating-point behavior or CPU optimizations could be influencing the results, as the two machines have different processors.

 Polarizability Output Example:

-Old Computer (.pol file):

1 1.890611e+05 -1.725563e+03 -1.659733e+03 -3.674112e+03 7.411941e+04 5.667919e+03 2.177547e+03 7.735191e+03 5.733074e+04

-New Computer (.pol file):

   1 2.037505e+05 -9.477865e+03 1.499895e+03 -3.625262e+03 7.411565e+04 5.433866e+03 2.154151e+03 7.835898e+03 5.710962e+04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant