CMakeFilesmcnp5mpidirSourcesrcsourceF90o In function source_sourceF90text+0xa1 undefined reference to particle_birth_sourceF90text+0x40b undefined reference to sampling_setup_make2 srcmcnpmcnp5mcnp5m
These errors occur during the compilation of the MCNP5 program, which is a Monte Carlo radiation transport code. The errors indicate that there are undefined references to two subroutines: particle_birth_ and sampling_setup_.
This means that the code is trying to call these subroutines, but they have not been defined or implemented in the code. There are several possible reasons for this, including missing source files, incorrect linking, or errors in the code itself.
To fix the errors, you should check the source code for these subroutines and make sure they are correctly defined and implemented. You should also check the linking and make sure that all necessary libraries and modules are included. If the errors persist, you may need to consult the documentation or seek help from the developers or community of MCNP5
原文地址: https://www.cveoy.top/t/topic/cOdz 著作权归作者所有。请勿转载和采集!