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

Issue with FIRERunReduction in FeynCalc. #305

Open
tiktikirbaal opened this issue Feb 19, 2025 · 2 comments
Open

Issue with FIRERunReduction in FeynCalc. #305

tiktikirbaal opened this issue Feb 19, 2025 · 2 comments

Comments

@tiktikirbaal
Copy link

Discussed in https://github.com/orgs/FeynCalc/discussions/302

Originally posted by tiktikirbaal February 19, 2025
I am trying to use FIRERunReduction in FeynCalc with FIRE6, but I am running into issues.

System Details
OS: Linux
Mathematica Version: 11.0
FeynCalc Version: 10.1.0 (dev version)
FeynHelpers Version:2.0.0(dev version)
FIRE6 Path: /home/pretom/.Mathematica/Applications/FIRE6/bin/FIRE6
Config File Path: /home/pretom/Downloads/fire/FIRE6/examples/fctopology1/fctopology1.config.

What I Tried
1)Verified that the config file exists:
FileExistsQ["/home/pretom/Downloads/fire/FIRE6/examples/fctopology1/fctopology1.config"]
Output: True.

2)Set FIREBinaryPath in Mathematica:
FIREBinaryPath =
FileNameJoin[{$UserBaseDirectory, "Applications", "FIRE6", "bin", "FIRE6"}]
Output:"/home/pretom/.Mathematica/Applications/FIRE6/bin/FIRE6"

3)Run the FIRERunReduction
FIRERunReduction[FCGetNotebookDirectory[], mappings[[2]],
FCVerbose -> 6]
Output:FIRERunReduction: Full path to the FIRE binary: /home/pretom/.Mathematica/Applications/FIRE6/bin/FIRE6

FIRERunReduction: Working directory: /home/pretom/Downloads/fire/FIRE6/examples/fctopology1/

FIRERunReduction: Config file: fctopology1
{FALSE}.

Questions
Why is FIRE not recognizing my .config file?
How should I correctly pass the .config file to FIRERunReduction?
Could this be an issue with how FeynCalc interfaces with FIRE6?
Any guidance would be greatly appreciated! Thanks in advance.

@vsht
Copy link
Member

vsht commented Feb 20, 2025 via email

@vsht
Copy link
Member

vsht commented Feb 20, 2025

You can also use the option FIREShowOutput to display the ouput of FIRE

FIRERunReduction[NotebookDirectory[], topos, FIREShowOutput -> True]

e.g.

During evaluation of In[12]:= C++ FIRE output:

During evaluation of In[12]:= fireRunReduction.sh: Working directory: /home/vs/mmaNotebookBackup/fctopology1
fireRunReduction.sh: Config file: fctopology1
fireRunReduction.sh: FIRE binary: /home/vs/.Mathematica/Applications/FIRE6/bin/FIRE6
FIRE 6.5.dev
Path: /home/vs/.Mathematica/Applications/FIRE6/bin/
Version: cb1f5a7 Merge branch 'valgrind_cleanup' into 'dev'
Threads: 8
Fthreads: 16 separate
Level threads: 4
Bucket: 25 for sector databases
Initialized flint as a library
Compressor: zstd, level 3
Database path: temp/db
Temporary directory exists
Deleting file "0009.tmp"
Deleting file "0004.tmp"
Deleting file "0001.tmp"
Deleting file "0006.tmp"
Deleting file "0005.tmp"
Deleting file "0003.tmp"
Deleting file "0007.tmp"
Deleting file "0008.tmp"
Deleting file "0002.tmp"
Tables will be saved to ./fctopology1.tables
STARTING LEVEL 5.1
Initialized flint as a library
Initialized flint as a library
STARTING THREAD 1 for {4242,{1,1,1,1,1}} 9
Thread 1 requested: (1,1) 
Thread 1 (sector 9): (1,1) 
Thread 1 (sector 9): Equations: 22, used: 20, reduction time: 0.00344419
Database 9 has size 0.250008 GB and 40 entries (log = 5.32193)
fuel/total reduction time in sector 9: 0.002841/0.00915552
Memory usage by sector 9 (virtual|resident): 0.3535Gb | 23.12Mb
FLAME time (9): 0.0125316
Memory by main thread (virtual|resident): 0.1182Gb | 21.22Mb
Thread memory usage estimation by top 8 sectors (virtual|resident): 0.3535Gb | 23.12Mb
FINISHED LEVEL 5.1
STARTING LEVEL 5.0
FINISHED LEVEL 5.0
STARTING LEVEL 4.1
FINISHED LEVEL 4.1
STARTING LEVEL 4.0
Initialized flint as a library
Initialized flint as a library
Initialized flint as a library
Initialized flint as a library
STARTING THREAD 1 for {4242,{-1,1,1,1,1}} 8
Initialized flint as a library
Initialized flint as a library
Thread 1 requested: (1,1) (1,2) 
Initialized flint as a library
Initialized flint as a library
STARTING THREAD 0 for {4242,{1,-1,1,1,1}} 7
Thread 0 requested: (1,1) 
Thread 1 (sector 8): (1,1) 
STARTING THREAD 4 for {4242,{1,1,1,-1,1}} 5
Thread 4 requested: (1,1) 
STARTING THREAD 3 for {4242,{1,1,1,1,-1}} 4
Thread 4 (sector 5): (1,1) 
Thread 3 requested: (1,1) 
Thread 0 (sector 7): (1,1) 
Thread 3 (sector 4): (1,1) 
Initialized flint as a library
Initialized flint as a library
Thread 1 (sector 8): Equations: 47, used: 43, reduction time: 0.00547431
Thread 1 (sector 8): (1,2) (2,1) 
STARTING THREAD 2 for {4242,{1,1,-1,1,1}} 6
Thread 2 requested: (1,1) 
Thread 2 (sector 6): (1,1) 
Thread 3 (sector 4): Equations: 45, used: 36, reduction time: 0.00499381
Database 4 has size 0.250012 GB and 72 entries (log = 6.16993)
Thread 4 (sector 5): Equations: 45, used: 36, reduction time: 0.00618454
Database 5 has size 0.250012 GB and 72 entries (log = 6.16993)
Thread 0 (sector 7): Equations: 45, used: 38, reduction time: 0.00660683
Database 7 has size 0.250011 GB and 72 entries (log = 6.16993)
fuel/total reduction time in sector 4: 0.003005/0.0100589
Memory usage by sector 4 (virtual|resident): 0.3535Gb | 22.87Mb
FLAME time (4): 0.0129528
Thread 2 (sector 6): Equations: 44, used: 44, reduction time: 0.00565852
New master integral: {4242,{1,1,0,1,1}}
Database 6 has size 0.250008 GB and 40 entries (log = 5.32193)
fuel/total reduction time in sector 5: 0.004042/0.0134487
Memory usage by sector 5 (virtual|resident): 0.3535Gb | 22.86Mb
fuel/total reduction time in sector 7: 0.004888/0.0143643
Memory usage by sector 7 (virtual|resident): 0.3535Gb | 22.76Mb
FLAME time (5): 0.0168031
FLAME time (7): 0.0181094
fuel/total reduction time in sector 6: 0.003327/0.0107858
Memory usage by sector 6 (virtual|resident): 0.3535Gb | 22.6Mb
FLAME time (6): 0.013939
Thread 1 (sector 8): Equations: 96, used: 86, reduction time: 0.0113938
Database 8 has size 0.250028 GB and 231 entries (log = 7.85175)
fuel/total reduction time in sector 8: 0.010653/0.0243022
Memory usage by sector 8 (virtual|resident): 0.3535Gb | 23.62Mb
FLAME time (8): 0.027793
Memory by main thread (virtual|resident): 0.126Gb | 21.22Mb
Thread memory usage estimation by top 8 sectors (virtual|resident): 1.771Gb | 0.1113Gb
FINISHED LEVEL 4.0
STARTING LEVEL 3.1
FINISHED LEVEL 3.1
STARTING LEVEL 3.0
Initialized flint as a library
Initialized flint as a library
Initialized flint as a library
Initialized flint as a library
STARTING THREAD 0 for {4242,{-1,1,1,-1,1}} 3
Thread 0 requested: (1,1) (2,1) 
Thread 0 (sector 3): (1,1) 
STARTING THREAD 5 for {4242,{1,-1,1,1,-1}} 2
Thread 5 requested: (1,1) 
Thread 5 (sector 2): (1,1) 
Thread 5 (sector 2): Equations: 57, used: 57, reduction time: 0.00811281
New master integral: {4242,{1,0,1,1,0}}
Thread 0 (sector 3): Equations: 57, used: 57, reduction time: 0.00955635
New master integral: {4242,{0,1,1,0,1}}
Thread 0 (sector 3): (2,1) 
Database 2 has size 0.25001 GB and 55 entries (log = 5.78136)
fuel/total reduction time in sector 2: 0.006019/0.013317
Memory usage by sector 2 (virtual|resident): 0.3535Gb | 22.95Mb
FLAME time (2): 0.0164719
Thread 0 (sector 3): Equations: 74, used: 60, reduction time: 0.00958486
Database 3 has size 0.250025 GB and 202 entries (log = 7.65821)
fuel/total reduction time in sector 3: 0.012876/0.0254367
Memory usage by sector 3 (virtual|resident): 0.3535Gb | 23.8Mb
FLAME time (3): 0.0288343
Memory by main thread (virtual|resident): 0.1279Gb | 21.34Mb
Thread memory usage estimation by top 8 sectors (virtual|resident): 0.708Gb | 46.75Mb
FINISHED LEVEL 3.0
FINISHED LEVEL 2
Copying results from lower sectors: 0.0188459 seconds.
Initialized flint as a library
Initialized flint as a library
Initialized flint as a library
Initialized flint as a library
THREAD 0: Substituting in {4242,{1,-1,1,1,-1}} 2
THREAD 0 (5 integrals): substituted (0.000898911 seconds).
Memory by thread 0 on substitutions: 0.3213Gb | 21.81Mb
THREAD 6: Substituting in {4242,{-1,1,1,-1,1}} 3
THREAD 6 (14 integrals): substituted (0.00176371 seconds).
Memory by thread 6 on substitutions: 0.3213Gb | 22.31Mb
THREAD 0 (5 integrals): removed 1 (0.00331968 seconds).
FLAME time (-2): 0.00744678
THREAD 6 (14 integrals): removed 8 (0.00348394 seconds).
FLAME time (-3): 0.00811354
Memory by main thread (virtual|resident): 0.1299Gb | 21.34Mb
Thread memory usage estimation by top 8 sectors (virtual|resident): 0.6436Gb | 44.12Mb
STARTING HIGHER SECTORS OF SAME LEVEL
FINISHED LEVEL 3
Copying results from lower sectors: 0.03639 seconds.
Initialized flint as a library
Initialized flint as a library
Initialized flint as a library
Initialized flint as a library
THREAD 6: Substituting in {4242,{1,1,1,1,-1}} 4
Initialized flint as a library
Initialized flint as a library
THREAD 6 (5 integrals): substituted (0.00128246 seconds).
Memory by thread 6 on substitutions: 0.3213Gb | 22.33Mb
THREAD 0: Substituting in {4242,{1,1,-1,1,1}} 6
THREAD 0 (4 integrals): substituted (0.00126505 seconds).
Memory by thread 0 on substitutions: 0.3213Gb | 21.72Mb
THREAD 2: Substituting in {4242,{1,1,1,-1,1}} 5
Initialized flint as a library
Initialized flint as a library
THREAD 6 (5 integrals): removed 5 (0.00345721 seconds).
THREAD 2 (3 integrals): substituted (0.000978461 seconds).
FLAME time (-4): 0.0081743
Memory by thread 2 on substitutions: 0.3213Gb | 22.2Mb
THREAD 4: Substituting in {4242,{1,-1,1,1,1}} 7
Initialized flint as a library
Initialized flint as a library
THREAD 4 (2 integrals): substituted (0.000958103 seconds).
Memory by thread 4 on substitutions: 0.3213Gb | 22.06Mb
THREAD 0 (4 integrals): removed 1 (0.00413997 seconds).
FLAME time (-6): 0.00852695
THREAD 1: Substituting in {4242,{-1,1,1,1,1}} 8
THREAD 1 (15 integrals): substituted (0.00201175 seconds).
THREAD 4 (2 integrals): removed 2 (0.0031954 seconds).
FLAME time (-7): 0.00670278
THREAD 2 (3 integrals): removed 3 (0.00542644 seconds).
Memory by thread 1 on substitutions: 0.3213Gb | 22.31Mb
FLAME time (-5): 0.00974257
THREAD 1 (15 integrals): removed 14 (0.00375979 seconds).
FLAME time (-8): 0.00802692
Memory by main thread (virtual|resident): 0.1299Gb | 21.34Mb
Thread memory usage estimation by top 8 sectors (virtual|resident): 1.61Gb | 0.1074Gb
STARTING HIGHER SECTORS OF SAME LEVEL
FINISHED LEVEL 4
Copying results from lower sectors: 0.0162795 seconds.
Initialized flint as a library
Initialized flint as a library
THREAD 6: Substituting in {4242,{1,1,1,1,1}} 9
THREAD 6 (1 integrals): substituted (0.000869346 seconds).
Memory by thread 6 on substitutions: 0.3213Gb | 22.07Mb
THREAD 6 (1 integrals): removed 4 (0.00345176 seconds).
FLAME time (-9): 0.0078281
Memory by main thread (virtual|resident): 0.1299Gb | 21.34Mb
Thread memory usage estimation by top 8 sectors (virtual|resident): 0.3213Gb | 22.07Mb
FINISHED LEVEL 5
Totally substituted 108 points
STATISTICS
Total time: 0.402425
Substitution time: 0.208626
Thread time: 0.663099
Eqs (total/used): 532 | 477
Maximal memory by the main process (virtual|resident): 0.1299Gb | 21.34Mb
Thread memory usage estimation by top 8 sectors (virtual|resident): 1.771Gb | 0.1113Gb
Master integrals: 3
Saving tables

Out[12]= {True}

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

2 participants